Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00192/0.00192, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002272/0.002272, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 47.94 kB / 373.4 MB, free: 9.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1022, allocations: 53.34 MB / 426.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001541/0.1038, allocations: 0.4972 MB / 427.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.1058, allocations: 1.463 MB / 428.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.1058, allocations: 0 / 428.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.952e-05/0.1058, allocations: 3.938 kB / 428.8 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.292e-05/0.1058, allocations: 0 / 428.8 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006424/0.1065, allocations: 186.5 kB / 428.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.868e-05/0.1065, allocations: 8 kB / 428.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.1066, allocations: 7.984 kB / 428.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.865e-05/0.1066, allocations: 11.98 kB / 429 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.956e-05/0.1067, allocations: 15.88 kB / 429 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.1067, allocations: 0 / 429 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002901/0.107, allocations: 171.8 kB / 429.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.107, allocations: 0 / 429.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.107, allocations: 11.92 kB / 429.2 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.1072, allocations: 123.6 kB / 429.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1072, allocations: 7.938 kB / 429.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1072, allocations: 0 / 429.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1072, allocations: 0 / 429.3 MB, free: 1.812 MB / 350.1 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.0004076/0.1076, allocations: 355.2 kB / 429.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1077, allocations: 8.031 kB / 429.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.1078, allocations: 8.922 kB / 429.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.1079, allocations: 160.4 kB / 429.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.108, allocations: 384 / 429.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.108, allocations: 8.125 kB / 429.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.1081, allocations: 33.69 kB / 429.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.1081, allocations: 4 kB / 429.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1081, allocations: 4 kB / 429.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1081, allocations: 4 kB / 429.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.075e-05/0.1081, allocations: 0 / 429.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.1086, allocations: 476.9 kB / 430.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.512e-05/0.1087, allocations: 169.2 kB / 430.5 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.1087, allocations: 84.14 kB / 430.6 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.1088, allocations: 83.27 kB / 430.7 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.97e-05/0.1088, allocations: 105.8 kB / 430.8 MB, free: 160 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.1088, allocations: 0 / 430.8 MB, free: 160 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.341e-05/0.1089, allocations: 37.59 kB / 430.8 MB, free: 116 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.109, allocations: 152.4 kB / 430.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.1091, allocations: 109.8 kB / 431 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.1091, allocations: 25.7 kB / 431.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.1092, allocations: 88.14 kB / 431.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.1092, allocations: 0 / 431.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.1092, allocations: 13.72 kB / 431.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1094, allocations: 322.8 kB / 431.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.255e-05/0.1094, allocations: 3.938 kB / 431.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.041e-05/0.1094, allocations: 4 kB / 431.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.9e-05/0.1094, allocations: 12.95 kB / 431.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1094, allocations: 0 / 431.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000119/0.1096, allocations: 45.58 kB / 431.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1096, allocations: 4 kB / 431.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1096, allocations: 0 / 431.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1096, allocations: 0 / 431.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.721e-05/0.1096, allocations: 4 kB / 431.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1096, allocations: 0 / 431.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.389e-05/0.1097, allocations: 0 / 431.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.1097, allocations: 4 kB / 431.6 MB, free: 15.28 MB / 366.1 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.0001152/0.1098, allocations: 193.6 kB / 431.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/0.1099, allocations: 108.9 kB / 431.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.965e-05/0.1099, allocations: 108.5 kB / 432 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.49e-05/0.11, allocations: 176.3 kB / 432.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.281e-05/0.1101, allocations: 184.2 kB / 432.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.846e-05/0.1102, allocations: 192.2 kB / 432.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.1104, allocations: 405.1 kB / 432.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.243e-05/0.1105, allocations: 113 kB / 433 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.1105, allocations: 101 kB / 433.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.75e-05/0.1106, allocations: 180.2 kB / 433.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.242e-05/0.1107, allocations: 184.3 kB / 433.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.923e-05/0.1108, allocations: 184.2 kB / 433.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.322e-05/0.1109, allocations: 176.5 kB / 433.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.111, allocations: 311.7 kB / 434.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.938e-05/0.1111, allocations: 178.1 kB / 434.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.099e-05/0.1112, allocations: 192.2 kB / 434.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.1113, allocations: 105 kB / 434.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/0.1114, allocations: 180.3 kB / 434.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.623e-05/0.1114, allocations: 104.9 kB / 434.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.641e-05/0.1115, allocations: 87.28 kB / 435 MB, free: 11.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1115, allocations: 0 / 435 MB, free: 11.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003031/0.1118, allocations: 39.92 kB / 435 MB, free: 11.62 MB / 366.1 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.0004198/0.1122, allocations: 257.8 kB / 435.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.144e-05/0.1123, allocations: 0 / 435.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1123, allocations: 0 / 435.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.1123, allocations: 4 kB / 435.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.1127, allocations: 461.7 kB / 435.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002115/0.1129, allocations: 160.3 kB / 435.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.1132, allocations: 0.6729 MB / 436.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.1134, allocations: 19.91 kB / 436.5 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/0.1134, allocations: 7.438 kB / 436.6 MB, free: 9.996 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1134, allocations: 0 / 436.6 MB, free: 9.996 MB / 366.1 MB Notification: Performance of Templates: time 0.003712/0.1171, allocations: 0.9597 MB / 437.5 MB, free: 9.039 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.3578159883618355]