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.002581/0.002581, allocations: 99.86 kB / 20.96 MB, free: 3.461 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.002838/0.002838, allocations: 149.1 kB / 24.26 MB, free: 168 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 1.554/1.554, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 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.934e-06/1.934e-06, allocations: 0 / 267.3 MB, free: 6.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.168e-05/3.361e-05, allocations: 2.312 kB / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002216/0.002249, allocations: 0.5025 MB / 267.8 MB, free: 6.254 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00311/0.00536, allocations: 1.37 MB / 269.2 MB, free: 4.867 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.741e-05/0.005387, allocations: 0 / 269.2 MB, free: 4.867 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.005401, allocations: 0 / 269.2 MB, free: 4.867 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.511e-05/0.005447, allocations: 3.938 kB / 269.2 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008321/0.006279, allocations: 179.4 kB / 269.3 MB, free: 4.688 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.559e-05/0.006344, allocations: 15.94 kB / 269.4 MB, free: 4.672 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.006386, allocations: 3.984 kB / 269.4 MB, free: 4.668 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.944e-05/0.006456, allocations: 15.98 kB / 269.4 MB, free: 4.652 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.113e-05/0.006527, allocations: 7.984 kB / 269.4 MB, free: 4.645 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.006548, allocations: 0 / 269.4 MB, free: 4.645 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004156/0.006964, allocations: 155.7 kB / 269.5 MB, free: 4.492 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.214e-05/0.006986, allocations: 7.922 kB / 269.6 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.007007, allocations: 4 kB / 269.6 MB, free: 4.48 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.007388, allocations: 147.7 kB / 269.7 MB, free: 4.336 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.007391, allocations: 0 / 269.7 MB, free: 4.336 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.007392, allocations: 0 / 269.7 MB, free: 4.336 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.007396, allocations: 0 / 269.7 MB, free: 4.336 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.0005309/0.007927, allocations: 372.1 kB / 270.1 MB, free: 3.938 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.007976, allocations: 12.92 kB / 270.1 MB, free: 3.926 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.008029, allocations: 4.891 kB / 270.1 MB, free: 3.922 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.008198, allocations: 128.5 kB / 270.2 MB, free: 3.77 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.00821, allocations: 4.312 kB / 270.2 MB, free: 3.766 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.008222, allocations: 384 / 270.2 MB, free: 3.766 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.008366, allocations: 59.97 kB / 270.3 MB, free: 3.695 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.008379, allocations: 3.938 kB / 270.3 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.008389, allocations: 0 / 270.3 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.008394, allocations: 0 / 270.3 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.141e-05/0.008425, allocations: 4 kB / 270.3 MB, free: 3.688 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006563/0.009082, allocations: 494.6 kB / 270.8 MB, free: 3.168 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.009299, allocations: 269.4 kB / 271 MB, free: 2.891 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.425e-05/0.009393, allocations: 130.8 kB / 271.2 MB, free: 2.758 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.388e-05/0.009477, allocations: 123.2 kB / 271.3 MB, free: 2.637 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001162/0.009593, allocations: 152.6 kB / 271.4 MB, free: 2.477 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.009594, allocations: 4 kB / 271.4 MB, free: 2.473 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001223/0.009717, allocations: 33.64 kB / 271.5 MB, free: 2.434 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/0.009868, allocations: 196.3 kB / 271.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.01007, allocations: 177.9 kB / 271.8 MB, free: 2.031 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.0101, allocations: 25.7 kB / 271.8 MB, free: 2 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.01021, allocations: 126.9 kB / 272 MB, free: 1.871 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.01021, allocations: 0 / 272 MB, free: 1.871 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-05/0.01027, allocations: 23.36 kB / 272 MB, free: 1.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003338/0.01061, allocations: 0.4884 MB / 272.5 MB, free: 1.34 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.348e-05/0.01063, allocations: 0 / 272.5 MB, free: 1.34 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.262e-05/0.01068, allocations: 33.7 kB / 272.5 MB, free: 1.301 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.886e-05/0.01072, allocations: 11.69 kB / 272.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01072, allocations: 0 / 272.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001697/0.01089, allocations: 49.56 kB / 272.6 MB, free: 1.23 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.01091, allocations: 4 kB / 272.6 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01092, allocations: 0 / 272.6 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.01093, allocations: 0 / 272.6 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.079e-05/0.01099, allocations: 4 kB / 272.6 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.011, allocations: 0 / 272.6 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.977e-05/0.01105, allocations: 0 / 272.6 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.01106, allocations: 4.125 kB / 272.6 MB, free: 1.219 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 0.0002237/0.01129, allocations: 279.8 kB / 272.9 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.01144, allocations: 160.7 kB / 273 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.01157, allocations: 148.4 kB / 273.2 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001804/0.01175, allocations: 272 kB / 273.4 MB, free: 348 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001812/0.01193, allocations: 272 kB / 273.7 MB, free: 68 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001972/0.01213, allocations: 268.1 kB / 274 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.01263, allocations: 499.8 kB / 274.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.984e-05/0.01273, allocations: 144.9 kB / 274.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.01283, allocations: 153.1 kB / 274.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001788/0.01301, allocations: 276 kB / 275 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000182/0.01319, allocations: 268.2 kB / 275.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001779/0.01337, allocations: 276 kB / 275.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001781/0.01355, allocations: 264.1 kB / 275.8 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004608/0.01401, allocations: 448 kB / 276.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.01412, allocations: 152.8 kB / 276.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.01431, allocations: 268 kB / 276.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.01451, allocations: 152.9 kB / 276.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.0147, allocations: 268.1 kB / 277.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.0148, allocations: 152.8 kB / 277.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.0149, allocations: 131.2 kB / 277.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0149, allocations: 4 kB / 277.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005062/0.01541, allocations: 39.92 kB / 277.4 MB, free: 12.23 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.0007905/0.0162, allocations: 305.8 kB / 277.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.01631, allocations: 15.69 kB / 277.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01631, allocations: 4.062 kB / 277.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.834e-06/0.01632, allocations: 3.938 kB / 277.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008477/0.01716, allocations: 0.7023 MB / 278.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.01752, allocations: 229.5 kB / 278.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.252e-05/0.0176, allocations: 55.36 kB / 278.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.812e-05/0.01768, allocations: 11.97 kB / 278.7 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.01771, allocations: 12.5 kB / 278.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01771, allocations: 0 / 278.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of Templates: time 0.005601/0.02331, allocations: 0.9761 MB / 279.7 MB, free: 9.887 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","/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.4591751110274345]