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.001909/0.001909, allocations: 79.7 kB / 20.68 MB, free: 1.023 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.001985/0.001985, allocations: 146.1 kB / 23.93 MB, free: 4.168 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.414/1.414, allocations: 173.4 MB / 200.4 MB, free: 12.86 MB / 190.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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 318.9 MB, free: 3.398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.655e-05, allocations: 3.125 kB / 318.9 MB, free: 3.395 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.00126/0.001287, allocations: 0.5028 MB / 319.4 MB, free: 3.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.002736, allocations: 1.34 MB / 320.7 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.361e-05/0.002759, allocations: 0 / 320.7 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.002776, allocations: 0 / 320.7 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.585e-05/0.002802, allocations: 5.094 kB / 320.7 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006323/0.003434, allocations: 181.4 kB / 320.9 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.927e-05/0.003494, allocations: 17.77 kB / 320.9 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.6e-05/0.00354, allocations: 6.234 kB / 320.9 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.037e-05/0.00359, allocations: 9.734 kB / 321 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.145e-05/0.003641, allocations: 9.172 kB / 321 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.00366, allocations: 1.438 kB / 321 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.003914, allocations: 156.9 kB / 321.1 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.003927, allocations: 14.69 kB / 321.1 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.003948, allocations: 5.531 kB / 321.1 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.004206, allocations: 145.3 kB / 321.3 MB, free: 1.945 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.004209, allocations: 1.031 kB / 321.3 MB, free: 1.945 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.00421, allocations: 3.938 kB / 321.3 MB, free: 1.941 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.00422, allocations: 0 / 321.3 MB, free: 1.941 MB / 286.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.0002915/0.004511, allocations: 276.5 kB / 321.6 MB, free: 1.664 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.004548, allocations: 10.52 kB / 321.6 MB, free: 1.664 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.004582, allocations: 6.078 kB / 321.6 MB, free: 1.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.236e-05/0.004654, allocations: 104.7 kB / 321.7 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.004663, allocations: 9.766 kB / 321.7 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.004677, allocations: 1.375 kB / 321.7 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.004779, allocations: 63.27 kB / 321.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.004787, allocations: 3.938 kB / 321.8 MB, free: 1.457 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.004798, allocations: 0 / 321.8 MB, free: 1.457 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.004801, allocations: 0 / 321.8 MB, free: 1.457 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.272e-05/0.004824, allocations: 6.719 kB / 321.8 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.005107, allocations: 341.5 kB / 322.1 MB, free: 1.102 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.336e-05/0.00515, allocations: 166.6 kB / 322.3 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/0.005166, allocations: 89.33 kB / 322.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.005176, allocations: 79.28 kB / 322.4 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.005205, allocations: 117.1 kB / 322.5 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.005205, allocations: 0 / 322.5 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.831e-05/0.005274, allocations: 29.25 kB / 322.6 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.005305, allocations: 152.4 kB / 322.7 MB, free: 452 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.638e-05/0.005392, allocations: 112 kB / 322.8 MB, free: 344 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.545e-06/0.005399, allocations: 25.7 kB / 322.8 MB, free: 312 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.005433, allocations: 86.66 kB / 322.9 MB, free: 224 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.005435, allocations: 1.281 kB / 322.9 MB, free: 224 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.005468, allocations: 15.62 kB / 322.9 MB, free: 208 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.005563, allocations: 316.1 kB / 323.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.005576, allocations: 6.531 kB / 323.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.341e-05/0.005609, allocations: 30.11 kB / 323.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.913e-05/0.005639, allocations: 11.17 kB / 323.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.00564, allocations: 1.125 kB / 323.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000118/0.005758, allocations: 38.7 kB / 323.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.005771, allocations: 4.312 kB / 323.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.005776, allocations: 2.234 kB / 323.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.005793, allocations: 0 / 323.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.076e-05/0.005844, allocations: 2.062 kB / 323.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.005848, allocations: 5.156 kB / 323.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.141e-05/0.00589, allocations: 1.078 kB / 323.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.005901, allocations: 2.062 kB / 323.4 MB, free: 15.8 MB / 302.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.0001211/0.006022, allocations: 188.4 kB / 323.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.758e-05/0.00611, allocations: 119.9 kB / 323.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.92e-05/0.006169, allocations: 107.5 kB / 323.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.468e-05/0.006253, allocations: 190.6 kB / 323.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.104e-05/0.006334, allocations: 177.6 kB / 324.1 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.781e-05/0.006412, allocations: 182.7 kB / 324.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.00665, allocations: 355.9 kB / 324.6 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.864e-05/0.006699, allocations: 106.5 kB / 324.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.006e-05/0.006749, allocations: 111.3 kB / 324.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.766e-05/0.006827, allocations: 186.7 kB / 325 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.291e-05/0.006899, allocations: 181.5 kB / 325.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.452e-05/0.006974, allocations: 182.3 kB / 325.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.168e-05/0.007046, allocations: 178.4 kB / 325.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.007207, allocations: 307.6 kB / 325.9 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.00726, allocations: 107.8 kB / 326 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.744e-05/0.007347, allocations: 183.5 kB / 326.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.007465, allocations: 107 kB / 326.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.094e-05/0.007546, allocations: 186 kB / 326.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.00759, allocations: 102.7 kB / 326.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.811e-05/0.007648, allocations: 92.22 kB / 326.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.007648, allocations: 0 / 326.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002947/0.007943, allocations: 41.47 kB / 326.7 MB, free: 12.38 MB / 302.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.0004958/0.008438, allocations: 256.5 kB / 326.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.089e-05/0.008519, allocations: 7.375 kB / 326.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.008521, allocations: 4.938 kB / 326.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.008523, allocations: 1.172 kB / 326.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.008914, allocations: 458.5 kB / 327.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002493/0.009164, allocations: 170 kB / 327.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.77e-05/0.009221, allocations: 58.86 kB / 327.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.009342, allocations: 10.89 kB / 327.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/0.009364, allocations: 13.88 kB / 327.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.009364, allocations: 0 / 327.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of Templates: time 0.003941/0.01331, allocations: 0.9518 MB / 328.6 MB, free: 11.37 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins/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: 4.134370788931847]