Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001351/0.001351, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 160.5 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9195/0.9195, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 272.9 MB, free: 1.492 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.826e-05, allocations: 2.312 kB / 272.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.004324/0.004352, allocations: 0.5145 MB / 273.4 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.005975, allocations: 1.447 MB / 274.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.306e-05/0.005998, allocations: 0 / 274.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.006017, allocations: 0 / 274.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.146e-05/0.006049, allocations: 3.938 kB / 274.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005634/0.006612, allocations: 187.4 kB / 275 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.485e-05/0.006667, allocations: 15.92 kB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.446e-05/0.006701, allocations: 4 kB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.132e-05/0.006753, allocations: 8 kB / 275.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.314e-05/0.006806, allocations: 11.98 kB / 275.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.006822, allocations: 0 / 275.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002339/0.007056, allocations: 163.7 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.007067, allocations: 0 / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.891e-05/0.007086, allocations: 15.94 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003235/0.01032, allocations: 143.7 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.01032, allocations: 0 / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01033, allocations: 0 / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.01033, allocations: 0 / 275.4 MB, free: 14.96 MB / 266.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.0003163/0.01065, allocations: 384.3 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.01069, allocations: 15.98 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.01082, allocations: 0.9375 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.396e-05/0.0109, allocations: 112.6 kB / 275.9 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.01091, allocations: 4.375 kB / 275.9 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.01092, allocations: 384 / 275.9 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.294e-05/0.01102, allocations: 63.95 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.01102, allocations: 3.938 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.01103, allocations: 4 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.01104, allocations: 0 / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.196e-05/0.01105, allocations: 0 / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.0114, allocations: 490.7 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.626e-05/0.01149, allocations: 269.4 kB / 276.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.01152, allocations: 134.8 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.01155, allocations: 123.2 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.0116, allocations: 156.6 kB / 277.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.0116, allocations: 0 / 277.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 7.01e-05/0.01167, allocations: 33.64 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.01173, allocations: 196.3 kB / 277.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.486e-05/0.01183, allocations: 169.9 kB / 277.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.01184, allocations: 25.7 kB / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.01189, allocations: 130.9 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.01189, allocations: 0 / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.01193, allocations: 23.36 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.01204, allocations: 496.1 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.01205, allocations: 0 / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.233e-05/0.01207, allocations: 33.7 kB / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.585e-05/0.0121, allocations: 11.69 kB / 278.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.0121, allocations: 0 / 278.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.784e-05/0.0122, allocations: 49.52 kB / 278.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.01221, allocations: 4 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.01222, allocations: 0 / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.01223, allocations: 4 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.535e-05/0.01227, allocations: 3.938 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.01228, allocations: 0 / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.759e-05/0.01231, allocations: 4.125 kB / 278.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.01231, allocations: 7.984 kB / 278.3 MB, free: 11.84 MB / 266.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.0003157/0.01263, allocations: 271.8 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/0.01269, allocations: 161.1 kB / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.463e-05/0.01273, allocations: 156.3 kB / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.766e-05/0.01279, allocations: 268.1 kB / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-05/0.01285, allocations: 272 kB / 279.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.386e-05/0.0129, allocations: 264.1 kB / 279.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003194/0.0161, allocations: 499.9 kB / 280.1 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.401e-05/0.01613, allocations: 152.8 kB / 280.3 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.01616, allocations: 148.9 kB / 280.4 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-05/0.01622, allocations: 275.9 kB / 280.7 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.318e-05/0.01629, allocations: 272.1 kB / 281 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.694e-05/0.01634, allocations: 264.1 kB / 281.2 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.1e-05/0.01641, allocations: 268 kB / 281.5 MB, free: 8.512 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.01654, allocations: 448 kB / 281.9 MB, free: 8.047 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.01658, allocations: 156.8 kB / 282.1 MB, free: 7.887 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.99e-05/0.01665, allocations: 272.1 kB / 282.3 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.402e-05/0.01674, allocations: 148.8 kB / 282.5 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.0168, allocations: 268.1 kB / 282.8 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.01683, allocations: 152.8 kB / 282.9 MB, free: 7.035 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.883e-05/0.01688, allocations: 135.2 kB / 283 MB, free: 6.902 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01688, allocations: 0 / 283 MB, free: 6.902 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002817/0.01717, allocations: 43.86 kB / 283.1 MB, free: 6.859 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.0003598/0.01753, allocations: 285.1 kB / 283.4 MB, free: 6.574 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.892e-05/0.0176, allocations: 11.69 kB / 283.4 MB, free: 6.559 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.01761, allocations: 0 / 283.4 MB, free: 6.559 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.01761, allocations: 0 / 283.4 MB, free: 6.559 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.01796, allocations: 0.7101 MB / 284.1 MB, free: 5.844 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002032/0.01816, allocations: 225.4 kB / 284.3 MB, free: 5.594 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.401e-05/0.01819, allocations: 51.36 kB / 284.3 MB, free: 5.523 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.553e-05/0.01825, allocations: 15.92 kB / 284.4 MB, free: 5.508 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.489e-05/0.01827, allocations: 8.5 kB / 284.4 MB, free: 5.5 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01827, allocations: 0 / 284.4 MB, free: 5.5 MB / 266.7 MB Notification: Performance of Templates: time 0.004109/0.02237, allocations: 1.167 MB / 285.5 MB, free: 4.34 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.4226650651544333]