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.001915/0.001915, allocations: 88.62 kB / 20.96 MB, free: 3.48 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.002129/0.002129, allocations: 149.4 kB / 24.25 MB, free: 192 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.436/1.436, allocations: 173.4 MB / 200.8 MB, free: 9.301 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.352e-06/1.352e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.699e-05, allocations: 2.312 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001562/0.001589, allocations: 0.5087 MB / 267.8 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.003688, allocations: 1.351 MB / 269.2 MB, free: 4.855 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.177e-05/0.003709, allocations: 0 / 269.2 MB, free: 4.855 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.6e-05/0.003725, allocations: 3.938 kB / 269.2 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.381e-05/0.003759, allocations: 0 / 269.2 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006397/0.004399, allocations: 179.4 kB / 269.3 MB, free: 4.676 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.315e-05/0.004462, allocations: 19.97 kB / 269.4 MB, free: 4.656 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.359e-05/0.004496, allocations: 0 / 269.4 MB, free: 4.656 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.856e-05/0.004554, allocations: 19.92 kB / 269.4 MB, free: 4.637 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.372e-05/0.004608, allocations: 4 kB / 269.4 MB, free: 4.633 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.004624, allocations: 0 / 269.4 MB, free: 4.633 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000277/0.004901, allocations: 163.7 kB / 269.5 MB, free: 4.473 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.004914, allocations: 3.984 kB / 269.6 MB, free: 4.469 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.004939, allocations: 4 kB / 269.6 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.005199, allocations: 147.6 kB / 269.7 MB, free: 4.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.005202, allocations: 0 / 269.7 MB, free: 4.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005203, allocations: 0 / 269.7 MB, free: 4.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.005207, allocations: 0 / 269.7 MB, free: 4.32 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.0003902/0.005597, allocations: 274.2 kB / 270 MB, free: 4.023 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.005632, allocations: 12.92 kB / 270 MB, free: 4.012 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.005677, allocations: 4.891 kB / 270 MB, free: 4.008 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.005799, allocations: 113.7 kB / 270.1 MB, free: 3.871 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.00581, allocations: 4.375 kB / 270.1 MB, free: 3.867 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.00582, allocations: 384 / 270.1 MB, free: 3.867 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.005944, allocations: 59.95 kB / 270.2 MB, free: 3.797 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.005956, allocations: 3.938 kB / 270.2 MB, free: 3.793 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.005965, allocations: 0 / 270.2 MB, free: 3.793 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.005971, allocations: 4 kB / 270.2 MB, free: 3.789 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.181e-05/0.005993, allocations: 3.938 kB / 270.2 MB, free: 3.785 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.006442, allocations: 339.7 kB / 270.5 MB, free: 3.422 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.006564, allocations: 173.1 kB / 270.7 MB, free: 3.242 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.006616, allocations: 84.08 kB / 270.8 MB, free: 3.156 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.4e-05/0.00666, allocations: 79.28 kB / 270.8 MB, free: 3.078 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.631e-05/0.006737, allocations: 113.8 kB / 270.9 MB, free: 2.957 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.006738, allocations: 3.938 kB / 270.9 MB, free: 2.953 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 9.061e-05/0.006828, allocations: 29.7 kB / 271 MB, free: 2.918 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.006935, allocations: 156.4 kB / 271.1 MB, free: 2.746 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.007073, allocations: 113.8 kB / 271.2 MB, free: 2.625 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.007095, allocations: 25.7 kB / 271.3 MB, free: 2.594 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/0.007167, allocations: 84.12 kB / 271.3 MB, free: 2.508 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.007168, allocations: 0 / 271.3 MB, free: 2.508 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.007209, allocations: 17.72 kB / 271.4 MB, free: 2.484 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.007391, allocations: 314.8 kB / 271.7 MB, free: 2.168 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.007404, allocations: 4 kB / 271.7 MB, free: 2.164 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.93e-05/0.007443, allocations: 33.69 kB / 271.7 MB, free: 2.125 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.09e-05/0.007474, allocations: 12.8 kB / 271.7 MB, free: 2.109 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.007475, allocations: 0 / 271.7 MB, free: 2.109 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001317/0.007607, allocations: 41.64 kB / 271.8 MB, free: 2.062 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.007619, allocations: 4 kB / 271.8 MB, free: 2.059 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.007623, allocations: 0 / 271.8 MB, free: 2.059 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.007641, allocations: 0 / 271.8 MB, free: 2.059 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.566e-05/0.007697, allocations: 4 kB / 271.8 MB, free: 2.055 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.007703, allocations: 8.109 kB / 271.8 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.002e-05/0.007743, allocations: 0 / 271.8 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.007753, allocations: 0 / 271.8 MB, free: 2.047 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.0001373/0.00789, allocations: 185.1 kB / 272 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.913e-05/0.007989, allocations: 120.8 kB / 272.1 MB, free: 1.73 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.141e-05/0.008061, allocations: 104.5 kB / 272.2 MB, free: 1.617 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001176/0.008178, allocations: 188.2 kB / 272.4 MB, free: 1.426 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001011/0.008279, allocations: 180.5 kB / 272.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.964e-05/0.008379, allocations: 176.3 kB / 272.7 MB, free: 1.062 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.008669, allocations: 368.8 kB / 273.1 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.334e-05/0.008733, allocations: 105 kB / 273.2 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.36e-05/0.008796, allocations: 108.9 kB / 273.3 MB, free: 452 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001031/0.008899, allocations: 180.2 kB / 273.5 MB, free: 264 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.009, allocations: 176.3 kB / 273.6 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001471/0.009148, allocations: 188.2 kB / 273.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001152/0.009263, allocations: 180.3 kB / 274 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.009468, allocations: 303.8 kB / 274.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.841e-05/0.009536, allocations: 108.9 kB / 274.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.009647, allocations: 184.1 kB / 274.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.009773, allocations: 109 kB / 274.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.009873, allocations: 180.2 kB / 274.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.825e-05/0.009931, allocations: 105 kB / 275 MB, free: 14.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.728e-05/0.009999, allocations: 91.27 kB / 275 MB, free: 14.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009999, allocations: 0 / 275 MB, free: 14.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003149/0.01031, allocations: 35.94 kB / 275.1 MB, free: 14.55 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.0004957/0.01081, allocations: 264.7 kB / 275.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.405e-05/0.01088, allocations: 7.938 kB / 275.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01088, allocations: 0 / 275.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.462e-06/0.01089, allocations: 0 / 275.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.01136, allocations: 463.7 kB / 275.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002546/0.01162, allocations: 175.9 kB / 276 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.318e-05/0.01168, allocations: 63.34 kB / 276 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000101/0.01178, allocations: 7.984 kB / 276 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.01181, allocations: 16.56 kB / 276.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01181, allocations: 0 / 276.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of Templates: time 0.003762/0.01557, allocations: 0.9625 MB / 277 MB, free: 12.58 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=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.1420651249354705]