Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 105.5 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 185 kB / 23.72 MB, free: 4.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 44.08 kB / 370.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2361, allocations: 52.18 MB / 422.6 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001714/0.2378, allocations: 0.5231 MB / 423.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.2398, allocations: 1.391 MB / 424.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.2398, allocations: 0 / 424.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.2398, allocations: 0 / 424.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.028e-05/0.2399, allocations: 3.938 kB / 424.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006561/0.2405, allocations: 178.7 kB / 424.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.364e-05/0.2406, allocations: 15.92 kB / 424.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.2406, allocations: 8 kB / 424.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.738e-05/0.2406, allocations: 4 kB / 424.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.2407, allocations: 19.92 kB / 424.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.2407, allocations: 4 kB / 424.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.241, allocations: 159.8 kB / 424.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.241, allocations: 7.984 kB / 424.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.241, allocations: 7.938 kB / 424.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.2412, allocations: 116.1 kB / 425 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2412, allocations: 3.938 kB / 425 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2412, allocations: 0 / 425 MB, free: 12.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.2413, allocations: 0 / 425 MB, free: 12.3 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000361/0.2416, allocations: 274.2 kB / 425.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.2417, allocations: 12.03 kB / 425.3 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.506e-05/0.2417, allocations: 34.75 kB / 425.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.2417, allocations: 4.891 kB / 425.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.2418, allocations: 106.5 kB / 425.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-06/0.2418, allocations: 4.312 kB / 425.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.2419, allocations: 7.875 kB / 425.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.242, allocations: 33.69 kB / 425.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.242, allocations: 0 / 425.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.242, allocations: 0 / 425.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.242, allocations: 0 / 425.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.64e-05/0.242, allocations: 12 kB / 425.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.2424, allocations: 363 kB / 425.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.756e-05/0.2425, allocations: 169.1 kB / 426 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.896e-05/0.2426, allocations: 84.14 kB / 426.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.2426, allocations: 75.28 kB / 426.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.082e-05/0.2427, allocations: 121.8 kB / 426.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.2427, allocations: 0 / 426.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.397e-05/0.2427, allocations: 25.7 kB / 426.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.269e-05/0.2428, allocations: 156.3 kB / 426.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.243, allocations: 113.8 kB / 426.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.243, allocations: 25.7 kB / 426.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.243, allocations: 92.09 kB / 426.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.243, allocations: 0 / 426.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.2431, allocations: 17.72 kB / 426.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2432, allocations: 318.8 kB / 427.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.2432, allocations: 4 kB / 427.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.796e-05/0.2432, allocations: 4 kB / 427.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.62e-05/0.2433, allocations: 8.859 kB / 427.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2433, allocations: 3.938 kB / 427.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001134/0.2434, allocations: 37.73 kB / 427.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.2434, allocations: 11.98 kB / 427.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2434, allocations: 0 / 427.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.2434, allocations: 0 / 427.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.963e-05/0.2435, allocations: 4 kB / 427.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2435, allocations: 0 / 427.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.019e-05/0.2435, allocations: 0 / 427.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.2435, allocations: 0 / 427.1 MB, free: 10.02 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.2437, allocations: 197.1 kB / 427.3 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.907e-05/0.2437, allocations: 104.9 kB / 427.4 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.273e-05/0.2438, allocations: 116.4 kB / 427.5 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.357e-05/0.2439, allocations: 176.3 kB / 427.7 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.792e-05/0.2439, allocations: 176.3 kB / 427.9 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.921e-05/0.244, allocations: 184.2 kB / 428.1 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.2443, allocations: 380.2 kB / 428.4 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.735e-05/0.2443, allocations: 104.9 kB / 428.5 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/0.2444, allocations: 113 kB / 428.6 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-05/0.2444, allocations: 180.2 kB / 428.8 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.676e-05/0.2445, allocations: 184.1 kB / 429 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.966e-05/0.2446, allocations: 176.3 kB / 429.2 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.936e-05/0.2447, allocations: 188.4 kB / 429.4 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.2448, allocations: 319.7 kB / 429.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.2449, allocations: 101 kB / 429.8 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.829e-05/0.245, allocations: 180.3 kB / 429.9 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2451, allocations: 112.9 kB / 430 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.164e-05/0.2452, allocations: 180.3 kB / 430.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/0.2452, allocations: 104.9 kB / 430.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.927e-05/0.2453, allocations: 91.53 kB / 430.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2453, allocations: 0 / 430.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000302/0.2456, allocations: 47.8 kB / 430.5 MB, free: 6.473 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007512/0.2463, allocations: 0.8663 MB / 431.3 MB, free: 5.594 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.599e-05/0.2464, allocations: 7.938 kB / 431.3 MB, free: 5.586 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2464, allocations: 8.062 kB / 431.3 MB, free: 5.578 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.757e-06/0.2464, allocations: 3.938 kB / 431.3 MB, free: 5.574 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.2468, allocations: 451.7 kB / 431.8 MB, free: 5.129 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.2472, allocations: 217.7 kB / 432 MB, free: 4.875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.2475, allocations: 0.6805 MB / 432.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.2476, allocations: 11.98 kB / 432.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.2476, allocations: 15.42 kB / 432.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2476, allocations: 0 / 432.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02858/0.2762, allocations: 1.912 MB / 434.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.93, allocations: 0.7031 kB / 434.6 MB, free: 2.367 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.284808778000297]