Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008841/0.0008841, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8964/0.8964, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 324.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.206e-05, allocations: 10.22 kB / 324.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001267/0.001289, allocations: 0.492 MB / 325 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.003108, allocations: 1.404 MB / 326.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/0.003144, allocations: 7.938 kB / 326.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.003168, allocations: 0 / 326.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.905e-05/0.003207, allocations: 0 / 326.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006566/0.003864, allocations: 198 kB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.851e-05/0.003923, allocations: 15.92 kB / 326.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.003968, allocations: 4 kB / 326.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.632e-05/0.004024, allocations: 15.98 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.588e-05/0.00408, allocations: 4 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.004099, allocations: 4 kB / 326.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.004323, allocations: 167.6 kB / 326.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.004341, allocations: 4 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.004363, allocations: 7.984 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.0046, allocations: 155.6 kB / 327 MB, free: 13.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.004603, allocations: 0 / 327 MB, free: 13.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.004605, allocations: 0 / 327 MB, free: 13.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.004609, allocations: 0 / 327 MB, free: 13.34 MB / 298.7 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.0003012/0.00491, allocations: 278.2 kB / 327.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.004951, allocations: 8.031 kB / 327.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.96e-05/0.00498, allocations: 34.75 kB / 327.3 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.005107, allocations: 4.922 kB / 327.3 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.116e-05/0.005189, allocations: 109.8 kB / 327.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.005199, allocations: 384 / 327.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.005207, allocations: 384 / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.005338, allocations: 59.72 kB / 327.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.005345, allocations: 0 / 327.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.005357, allocations: 4 kB / 327.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.005361, allocations: 0 / 327.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.154e-05/0.005383, allocations: 11.92 kB / 327.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.005751, allocations: 375 kB / 327.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.547e-05/0.005837, allocations: 169.1 kB / 328.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/0.005859, allocations: 80.14 kB / 328.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.005879, allocations: 75.28 kB / 328.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.005917, allocations: 113.8 kB / 328.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.005917, allocations: 0 / 328.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.174e-05/0.005979, allocations: 25.7 kB / 328.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-05/0.006062, allocations: 156.3 kB / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.386e-05/0.006146, allocations: 113.8 kB / 328.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.006156, allocations: 29.7 kB / 328.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.006199, allocations: 80.14 kB / 328.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.006202, allocations: 0 / 328.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.006236, allocations: 25.7 kB / 328.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.741e-05/0.006304, allocations: 310.8 kB / 329 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/0.006314, allocations: 0 / 329 MB, free: 11.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.27e-05/0.006337, allocations: 37.62 kB / 329.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.553e-05/0.006362, allocations: 16.73 kB / 329.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.006364, allocations: 0 / 329.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.44e-05/0.006458, allocations: 45.75 kB / 329.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.00647, allocations: 4 kB / 329.1 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.006476, allocations: 3.984 kB / 329.1 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.00649, allocations: 0 / 329.1 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.095e-05/0.006541, allocations: 4 kB / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.006546, allocations: 0 / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.75e-05/0.006573, allocations: 0 / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.006582, allocations: 3.984 kB / 329.2 MB, free: 10.99 MB / 298.7 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.0001351/0.006717, allocations: 189.1 kB / 329.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.006757, allocations: 108.9 kB / 329.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.006791, allocations: 116.3 kB / 329.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.803e-05/0.006829, allocations: 180.2 kB / 329.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-05/0.00687, allocations: 184.5 kB / 329.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.805e-05/0.006908, allocations: 176.3 kB / 330.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.007058, allocations: 392.3 kB / 330.5 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.376e-05/0.007081, allocations: 105 kB / 330.6 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.544e-05/0.007107, allocations: 108.9 kB / 330.7 MB, free: 9.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.871e-05/0.007145, allocations: 176.3 kB / 330.9 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.723e-05/0.007193, allocations: 176.3 kB / 331 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001738/0.007366, allocations: 188.2 kB / 331.2 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.99e-05/0.007406, allocations: 180.2 kB / 331.4 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.351e-05/0.0075, allocations: 307.7 kB / 331.7 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.007528, allocations: 105 kB / 331.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.007578, allocations: 188.2 kB / 332 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.025e-05/0.007638, allocations: 105 kB / 332.1 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.007683, allocations: 184.2 kB / 332.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.007705, allocations: 101 kB / 332.4 MB, free: 7.594 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.99e-05/0.007745, allocations: 91.27 kB / 332.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007745, allocations: 0 / 332.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002041/0.007949, allocations: 35.94 kB / 332.5 MB, free: 7.469 MB / 298.7 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.0005185/0.008468, allocations: 0.8995 MB / 333.4 MB, free: 6.551 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.214e-05/0.00854, allocations: 4 kB / 333.4 MB, free: 6.547 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.008542, allocations: 0 / 333.4 MB, free: 6.547 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.008543, allocations: 0 / 333.4 MB, free: 6.547 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.008792, allocations: 459.7 kB / 333.8 MB, free: 6.094 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.009093, allocations: 214.2 kB / 334 MB, free: 5.844 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.738e-05/0.009141, allocations: 63.28 kB / 334.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.009258, allocations: 16.05 kB / 334.1 MB, free: 5.746 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.009287, allocations: 12.5 kB / 334.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.009288, allocations: 0 / 334.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.02764, allocations: 2.551 MB / 336.7 MB, free: 3.289 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.922/6.95, allocations: 0 / 336.7 MB, free: 3.289 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 8.6761872228235]