Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.001438/0.001438, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001527/0.001527, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 60.19 kB / 347.7 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2598, allocations: 49.15 MB / 396.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002262/0.2621, allocations: 1.339 MB / 398.2 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1877/0.4497, allocations: 129.6 MB / 0.5154 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.038e-05/0.4498, allocations: 0 / 0.5154 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.492e-05/0.4499, allocations: 3.938 kB / 0.5154 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001637/0.4515, allocations: 354.5 kB / 0.5157 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.4539, allocations: 0.8245 MB / 0.5165 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.4541, allocations: 71.69 kB / 0.5166 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.4541, allocations: 7.656 kB / 0.5166 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.55e-05/0.4542, allocations: 35.84 kB / 0.5166 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.4543, allocations: 35.91 kB / 0.5167 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.4543, allocations: 0 / 0.5167 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.4569, allocations: 1.182 MB / 0.5178 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.897e-05/0.457, allocations: 15.86 kB / 0.5178 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.457, allocations: 27.86 kB / 0.5179 GB, free: 13.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.4588, allocations: 0.8143 MB / 0.5186 GB, free: 12.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4588, allocations: 0 / 0.5186 GB, free: 12.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4588, allocations: 0 / 0.5186 GB, free: 12.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.4588, allocations: 0 / 0.5186 GB, free: 12.5 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007624/0.4596, allocations: 417 kB / 0.519 GB, free: 12.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.4596, allocations: 11.98 kB / 0.5191 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003196/0.4599, allocations: 28.91 kB / 0.5191 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.4601, allocations: 154.3 kB / 0.5192 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.4602, allocations: 384 / 0.5192 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.4602, allocations: 11.88 kB / 0.5192 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.4604, allocations: 71.39 kB / 0.5193 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.4604, allocations: 0 / 0.5193 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.4604, allocations: 7.984 kB / 0.5193 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4604, allocations: 0 / 0.5193 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.4605, allocations: 47.97 kB / 0.5194 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.4607, allocations: 146.1 kB / 0.5195 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.461, allocations: 105.2 kB / 0.5196 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.103e-05/0.4611, allocations: 33.7 kB / 0.5196 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005078/0.4616, allocations: 67.86 kB / 0.5197 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.4616, allocations: 38.5 kB / 0.5197 GB, free: 11.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.4616, allocations: 0 / 0.5197 GB, free: 11.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003764/0.462, allocations: 117.5 kB / 0.5198 GB, free: 11.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.4621, allocations: 81.11 kB / 0.5199 GB, free: 11.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.4622, allocations: 137.8 kB / 0.5201 GB, free: 10.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.4623, allocations: 29.7 kB / 0.5201 GB, free: 10.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.4623, allocations: 92.12 kB / 0.5202 GB, free: 10.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.4623, allocations: 23.8 kB / 0.5202 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.4624, allocations: 21.7 kB / 0.5202 GB, free: 10.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.4625, allocations: 318.8 kB / 0.5205 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.109e-05/0.4626, allocations: 19.98 kB / 0.5205 GB, free: 10.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.434e-05/0.4627, allocations: 55.41 kB / 0.5206 GB, free: 10.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.4629, allocations: 83.34 kB / 0.5207 GB, free: 10.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4629, allocations: 0 / 0.5207 GB, free: 10.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000301/0.4632, allocations: 117.9 kB / 0.5208 GB, free: 10.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.4632, allocations: 4 kB / 0.5208 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4632, allocations: 3.938 kB / 0.5208 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.4632, allocations: 4 kB / 0.5208 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/0.4633, allocations: 15.98 kB / 0.5208 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.4633, allocations: 7.875 kB / 0.5208 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.67e-05/0.4634, allocations: 4 kB / 0.5208 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.4634, allocations: 4 kB / 0.5208 GB, free: 10.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.0001144/0.4635, allocations: 117.9 kB / 0.5209 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.986e-05/0.4636, allocations: 11.88 kB / 0.5209 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.4638, allocations: 114 kB / 0.5211 GB, free: 9.785 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.4638, allocations: 4 kB / 0.5211 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4638, allocations: 0 / 0.5211 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4638, allocations: 0 / 0.5211 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.464, allocations: 133.3 kB / 0.5212 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.464, allocations: 0 / 0.5212 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.371e-05/0.4641, allocations: 15.94 kB / 0.5212 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.4641, allocations: 3.938 kB / 0.5212 GB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.4641, allocations: 4 kB / 0.5212 GB, free: 9.598 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4641, allocations: 4 kB / 0.5212 GB, free: 9.594 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4641, allocations: 0 / 0.5212 GB, free: 9.594 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.4644, allocations: 161.9 kB / 0.5214 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.4645, allocations: 19.91 kB / 0.5214 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.4645, allocations: 8 kB / 0.5214 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.4e-05/0.4646, allocations: 0 / 0.5214 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.4646, allocations: 7.984 kB / 0.5214 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.4646, allocations: 7.938 kB / 0.5214 GB, free: 9.371 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.612e-05/0.4647, allocations: 107.3 kB / 0.5215 GB, free: 9.266 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4647, allocations: 4.062 kB / 0.5215 GB, free: 9.262 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000644/0.4653, allocations: 207.3 kB / 0.5217 GB, free: 9.059 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (6): * Single equations (assignments): 6 * 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.001363/0.4667, allocations: 0.5218 MB / 0.5222 GB, free: 8.527 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.4669, allocations: 63.91 kB / 0.5223 GB, free: 8.465 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4669, allocations: 0 / 0.5223 GB, free: 8.465 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.248e-05/0.467, allocations: 27.97 kB / 0.5223 GB, free: 8.438 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.4673, allocations: 28.58 kB / 0.5223 GB, free: 8.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005966/0.4679, allocations: 311.3 kB / 0.5226 GB, free: 8.074 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.213e-05/0.468, allocations: 71.33 kB / 0.5227 GB, free: 7.984 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.593e-05/0.468, allocations: 27.88 kB / 0.5227 GB, free: 7.957 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.4681, allocations: 19.42 kB / 0.5228 GB, free: 7.938 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4681, allocations: 0 / 0.5228 GB, free: 7.938 MB / 446.1 MB Notification: Performance of Templates: time 0.01271/0.4808, allocations: 6.244 MB / 0.5288 GB, free: 1.684 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.922573139891028]