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.001327/0.001327, allocations: 80.72 kB / 22.21 MB, free: 2.289 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.00138/0.00138, allocations: 143 kB / 25.59 MB, free: 8.594 MB / 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.8942/0.8942, allocations: 173.4 MB / 202.2 MB, free: 8.305 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.062e-06/1.062e-06, allocations: 0 / 269.2 MB, free: 9.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.549e-05, allocations: 4.312 kB / 269.2 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0009321/0.0009475, allocations: 0.5124 MB / 269.7 MB, free: 9.309 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.002172, allocations: 1.375 MB / 271.1 MB, free: 7.918 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.002193, allocations: 0 / 271.1 MB, free: 7.918 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.002206, allocations: 1.438 kB / 271.1 MB, free: 7.918 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.597e-05/0.002232, allocations: 0 / 271.1 MB, free: 7.918 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.002667, allocations: 177.1 kB / 271.2 MB, free: 7.746 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.093e-05/0.002708, allocations: 21.86 kB / 271.3 MB, free: 7.727 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.002743, allocations: 7.984 kB / 271.3 MB, free: 7.719 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.069e-05/0.002784, allocations: 4 kB / 271.3 MB, free: 7.715 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.199e-05/0.002836, allocations: 15.92 kB / 271.3 MB, free: 7.699 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.002849, allocations: 0 / 271.3 MB, free: 7.699 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.003054, allocations: 149.1 kB / 271.4 MB, free: 7.555 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.003069, allocations: 11.97 kB / 271.4 MB, free: 7.543 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.205e-05/0.003081, allocations: 4 kB / 271.4 MB, free: 7.539 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.003237, allocations: 152.2 kB / 271.6 MB, free: 7.391 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.003239, allocations: 0 / 271.6 MB, free: 7.391 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003239, allocations: 0.5938 kB / 271.6 MB, free: 7.391 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.003243, allocations: 0 / 271.6 MB, free: 7.391 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.0003419/0.003584, allocations: 373.7 kB / 272 MB, free: 6.992 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.733e-05/0.003612, allocations: 8.031 kB / 272 MB, free: 6.984 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.003638, allocations: 12.89 kB / 272 MB, free: 6.973 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.854e-05/0.003737, allocations: 109.7 kB / 272.1 MB, free: 6.84 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.475e-06/0.003744, allocations: 4.312 kB / 272.1 MB, free: 6.836 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.003753, allocations: 4.375 kB / 272.1 MB, free: 6.832 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.269e-05/0.003815, allocations: 53.53 kB / 272.1 MB, free: 6.77 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.003821, allocations: 3.938 kB / 272.1 MB, free: 6.766 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.003827, allocations: 4 kB / 272.2 MB, free: 6.762 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.00383, allocations: 0 / 272.2 MB, free: 6.762 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.664e-06/0.003838, allocations: 0.5938 kB / 272.2 MB, free: 6.762 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.0041, allocations: 472.2 kB / 272.6 MB, free: 6.273 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.152e-05/0.004171, allocations: 269.4 kB / 272.9 MB, free: 5.996 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.203e-05/0.004263, allocations: 131.7 kB / 273 MB, free: 5.863 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.004288, allocations: 119.2 kB / 273.1 MB, free: 5.746 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.004328, allocations: 161 kB / 273.3 MB, free: 5.578 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.004329, allocations: 4 kB / 273.3 MB, free: 5.574 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 4.719e-05/0.004376, allocations: 33.66 kB / 273.3 MB, free: 5.535 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.004432, allocations: 200.2 kB / 273.5 MB, free: 5.32 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.071e-05/0.004503, allocations: 169.9 kB / 273.7 MB, free: 5.137 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.004512, allocations: 25.7 kB / 273.7 MB, free: 5.105 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.004557, allocations: 130.9 kB / 273.8 MB, free: 4.973 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.004559, allocations: 3.938 kB / 273.8 MB, free: 4.969 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.004584, allocations: 19.38 kB / 273.9 MB, free: 4.941 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.631e-05/0.00468, allocations: 0.4884 MB / 274.3 MB, free: 4.441 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.421e-06/0.004686, allocations: 4 kB / 274.3 MB, free: 4.438 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.771e-05/0.004704, allocations: 29.7 kB / 274.4 MB, free: 4.402 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.867e-05/0.004722, allocations: 11.69 kB / 274.4 MB, free: 4.387 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.004723, allocations: 0 / 274.4 MB, free: 4.387 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.854e-05/0.004792, allocations: 49.56 kB / 274.4 MB, free: 4.332 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.004802, allocations: 4 kB / 274.4 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.004805, allocations: 0 / 274.4 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-06/0.004811, allocations: 0 / 274.4 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.374e-05/0.004844, allocations: 4 kB / 274.4 MB, free: 4.324 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-06/0.004846, allocations: 0 / 274.4 MB, free: 4.324 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.278e-05/0.004879, allocations: 0 / 274.4 MB, free: 4.324 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.004886, allocations: 4.125 kB / 274.4 MB, free: 4.32 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.406e-05/0.00496, allocations: 275.8 kB / 274.7 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/0.005131, allocations: 156.8 kB / 274.9 MB, free: 3.879 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.005172, allocations: 156.3 kB / 275 MB, free: 3.715 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.968e-05/0.005221, allocations: 268.1 kB / 275.3 MB, free: 3.445 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.975e-05/0.005271, allocations: 268.1 kB / 275.5 MB, free: 3.176 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.847e-05/0.005319, allocations: 268 kB / 275.8 MB, free: 2.906 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.005466, allocations: 480.8 kB / 276.3 MB, free: 2.402 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.972e-05/0.005495, allocations: 148.8 kB / 276.4 MB, free: 2.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.994e-05/0.005525, allocations: 148.9 kB / 276.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.438e-05/0.00558, allocations: 280 kB / 276.8 MB, free: 1.816 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.986e-05/0.00563, allocations: 264.1 kB / 277.1 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.155e-05/0.005681, allocations: 276.2 kB / 277.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-05/0.005732, allocations: 272 kB / 277.6 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.005846, allocations: 448 kB / 278.1 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.398e-05/0.00588, allocations: 152.9 kB / 278.2 MB, free: 388 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/0.00594, allocations: 264.1 kB / 278.5 MB, free: 116 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/0.006274, allocations: 156.8 kB / 278.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.006328, allocations: 272.1 kB / 278.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.006356, allocations: 148.8 kB / 279 MB, free: 15.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.701e-05/0.006393, allocations: 131.2 kB / 279.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006394, allocations: 4 kB / 279.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001829/0.006576, allocations: 39.81 kB / 279.2 MB, free: 15.36 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.0002837/0.00686, allocations: 305.3 kB / 279.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.946e-05/0.00691, allocations: 7.688 kB / 279.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.006912, allocations: 8.062 kB / 279.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.006913, allocations: 0 / 279.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.007177, allocations: 0.7081 MB / 280.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001506/0.007327, allocations: 229.4 kB / 280.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.715e-05/0.007354, allocations: 51.36 kB / 280.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.355e-05/0.007398, allocations: 15.97 kB / 280.5 MB, free: 14 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.503e-05/0.007453, allocations: 78.19 kB / 280.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.007453, allocations: 0 / 280.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of Templates: time 0.002402/0.009856, allocations: 1.103 MB / 281.7 MB, free: 12.83 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.490238280966878]