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.0009484/0.0009484, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 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.0008918/0.0008918, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 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 0.8992/0.8992, allocations: 173.3 MB / 201.1 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] 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.313e-06/1.313e-06, allocations: 0 / 268 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.075e-05, allocations: 6.25 kB / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001068/0.001089, allocations: 0.5103 MB / 268.5 MB, free: 5.934 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.002442, allocations: 1.394 MB / 269.9 MB, free: 4.523 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.002464, allocations: 3.938 kB / 269.9 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.002481, allocations: 0 / 269.9 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.8e-05/0.002509, allocations: 0 / 269.9 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.00303, allocations: 179.4 kB / 270.1 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.854e-05/0.003088, allocations: 15.98 kB / 270.1 MB, free: 4.328 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.265e-05/0.003131, allocations: 0 / 270.1 MB, free: 4.328 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.316e-05/0.003194, allocations: 11.94 kB / 270.1 MB, free: 4.316 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.89e-05/0.003253, allocations: 15.91 kB / 270.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.003279, allocations: 0 / 270.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.003507, allocations: 155.8 kB / 270.3 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.003521, allocations: 4 kB / 270.3 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.003542, allocations: 4 kB / 270.3 MB, free: 4.141 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.00373, allocations: 147.6 kB / 270.4 MB, free: 3.996 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003732, allocations: 4 kB / 270.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003732, allocations: 0 / 270.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.003736, allocations: 0 / 270.4 MB, free: 3.992 MB / 250.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.0002998/0.004036, allocations: 372.5 kB / 270.8 MB, free: 3.594 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.004077, allocations: 12.92 kB / 270.8 MB, free: 3.582 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.004117, allocations: 4.891 kB / 270.8 MB, free: 3.578 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.177e-05/0.004199, allocations: 112.6 kB / 270.9 MB, free: 3.441 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.00421, allocations: 384 / 270.9 MB, free: 3.441 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.004224, allocations: 4.359 kB / 270.9 MB, free: 3.438 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.004334, allocations: 59.97 kB / 271 MB, free: 3.367 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.004344, allocations: 7.938 kB / 271 MB, free: 3.359 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.004354, allocations: 3.938 kB / 271 MB, free: 3.355 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.004361, allocations: 0 / 271 MB, free: 3.355 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.617e-05/0.004377, allocations: 7.984 kB / 271 MB, free: 3.348 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.004735, allocations: 482.7 kB / 271.5 MB, free: 2.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.572e-05/0.004811, allocations: 261.4 kB / 271.7 MB, free: 2.57 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/0.004843, allocations: 130.8 kB / 271.8 MB, free: 2.438 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.004871, allocations: 131.1 kB / 272 MB, free: 2.309 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/0.004919, allocations: 156.6 kB / 272.1 MB, free: 2.145 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 6.21e-07/0.00492, allocations: 0 / 272.1 MB, free: 2.145 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 5.949e-05/0.004979, allocations: 37.66 kB / 272.2 MB, free: 2.102 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.005037, allocations: 196.3 kB / 272.3 MB, free: 1.891 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.144e-05/0.005119, allocations: 169.9 kB / 272.5 MB, free: 1.707 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.005129, allocations: 25.7 kB / 272.5 MB, free: 1.676 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.005185, allocations: 130.9 kB / 272.7 MB, free: 1.543 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.005188, allocations: 0 / 272.7 MB, free: 1.543 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.00522, allocations: 27.36 kB / 272.7 MB, free: 1.508 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.005325, allocations: 492.1 kB / 273.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.005336, allocations: 4 kB / 273.2 MB, free: 1.012 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.092e-05/0.005357, allocations: 33.62 kB / 273.2 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.504e-05/0.005382, allocations: 15.78 kB / 273.2 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.005384, allocations: 0 / 273.2 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.018e-05/0.005474, allocations: 41.64 kB / 273.3 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.005487, allocations: 6.812 kB / 273.3 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.005491, allocations: 0 / 273.3 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.005505, allocations: 0 / 273.3 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.83e-05/0.005553, allocations: 4 kB / 273.3 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.005558, allocations: 0 / 273.3 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.005589, allocations: 3.953 kB / 273.3 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.005599, allocations: 4.234 kB / 273.3 MB, free: 0.8906 MB / 250.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 7.861e-05/0.005678, allocations: 283.7 kB / 273.6 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.005721, allocations: 152.8 kB / 273.7 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.005766, allocations: 152.4 kB / 273.9 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.498e-05/0.005821, allocations: 272 kB / 274.1 MB, free: 12 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.591e-05/0.005887, allocations: 272.1 kB / 274.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.487e-05/0.005942, allocations: 268 kB / 274.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.006093, allocations: 495.9 kB / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.651e-05/0.00613, allocations: 148.9 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.006165, allocations: 152.8 kB / 275.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.405e-05/0.006229, allocations: 268 kB / 275.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.066e-05/0.00629, allocations: 272.2 kB / 276 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-05/0.00635, allocations: 276.1 kB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-05/0.006407, allocations: 268.1 kB / 276.5 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.006531, allocations: 440 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.00657, allocations: 156.8 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.829e-05/0.006638, allocations: 272.1 kB / 277.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/0.006706, allocations: 148.9 kB / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.006768, allocations: 268 kB / 277.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.006801, allocations: 152.8 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.352e-05/0.006845, allocations: 135.2 kB / 278 MB, free: 11.94 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006845, allocations: 0 / 278 MB, free: 11.94 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001881/0.007033, allocations: 43.88 kB / 278.1 MB, free: 11.9 MB / 266.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.0003203/0.007353, allocations: 306 kB / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.196e-05/0.007425, allocations: 15.62 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.007427, allocations: 0 / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.007428, allocations: 4.062 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.007711, allocations: 0.7023 MB / 279.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000185/0.007896, allocations: 225.5 kB / 279.3 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.123e-05/0.007927, allocations: 55.36 kB / 279.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.473e-05/0.007972, allocations: 7.984 kB / 279.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.656e-05/0.007988, allocations: 12.5 kB / 279.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of SimCode: time 4.8e-07/0.007989, allocations: 0 / 279.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of Templates: time 0.002415/0.0104, allocations: 0.9727 MB / 280.4 MB, free: 9.57 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.643235782161355]