Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001986/0.001986, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002509/0.002509, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.552/1.552, allocations: 230.6 MB / 258.2 MB, free: 7.82 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_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 47.92 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2547, allocations: 53.37 MB / 432.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002578/0.2573, allocations: 1.355 MB / 433.7 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3917/0.649, allocations: 130.9 MB / 0.5514 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.231e-05/0.6491, allocations: 0 / 0.5514 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.086e-05/0.6491, allocations: 5.391 kB / 0.5514 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.6502, allocations: 382.7 kB / 0.5517 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.6512, allocations: 0.5199 MB / 0.5522 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.6513, allocations: 73.62 kB / 0.5523 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.601e-05/0.6513, allocations: 2.828 kB / 0.5523 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.105e-05/0.6514, allocations: 38.56 kB / 0.5524 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.225e-05/0.6515, allocations: 30.92 kB / 0.5524 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.6515, allocations: 1.625 kB / 0.5524 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.6529, allocations: 0.9418 MB / 0.5533 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.054e-05/0.653, allocations: 16.67 kB / 0.5533 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.653, allocations: 27.86 kB / 0.5534 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00091/0.6539, allocations: 0.6661 MB / 0.554 GB, free: 15.87 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.6539, allocations: 0 / 0.554 GB, free: 15.87 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6539, allocations: 0 / 0.554 GB, free: 15.87 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.6539, allocations: 4 kB / 0.554 GB, free: 15.86 MB / 462.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.0006238/0.6546, allocations: 385.3 kB / 0.5544 GB, free: 15.54 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.6546, allocations: 10.88 kB / 0.5544 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004485/0.655, allocations: 69 kB / 0.5544 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.6552, allocations: 141.1 kB / 0.5546 GB, free: 15.4 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.6552, allocations: 5.125 kB / 0.5546 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.6553, allocations: 9.406 kB / 0.5546 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.6554, allocations: 73.12 kB / 0.5547 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.6555, allocations: 0 / 0.5547 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.6555, allocations: 0 / 0.5547 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.6555, allocations: 5.562 kB / 0.5547 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.6556, allocations: 47.86 kB / 0.5547 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002086/0.6558, allocations: 133.9 kB / 0.5548 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.6561, allocations: 114.1 kB / 0.555 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.25e-05/0.6562, allocations: 37.58 kB / 0.555 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004759/0.6567, allocations: 62.91 kB / 0.555 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.6567, allocations: 34.94 kB / 0.5551 GB, free: 15.1 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.6567, allocations: 0 / 0.5551 GB, free: 15.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003468/0.6571, allocations: 120.3 kB / 0.5552 GB, free: 15.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.6571, allocations: 77.11 kB / 0.5553 GB, free: 14.97 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.6573, allocations: 140.5 kB / 0.5554 GB, free: 14.88 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.6573, allocations: 33.86 kB / 0.5554 GB, free: 14.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.6573, allocations: 86.27 kB / 0.5555 GB, free: 14.76 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.6574, allocations: 24.67 kB / 0.5555 GB, free: 14.74 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.6574, allocations: 25 kB / 0.5556 GB, free: 14.72 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6576, allocations: 320.3 kB / 0.5559 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.488e-05/0.6576, allocations: 27.89 kB / 0.5559 GB, free: 14.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.926e-05/0.6577, allocations: 52.97 kB / 0.5559 GB, free: 14.38 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.6579, allocations: 78.27 kB / 0.556 GB, free: 14.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.6579, allocations: 7.5 kB / 0.556 GB, free: 14.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000237/0.6581, allocations: 113.6 kB / 0.5561 GB, free: 14.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.6581, allocations: 7.953 kB / 0.5561 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.6581, allocations: 0 / 0.5561 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.6581, allocations: 2.375 kB / 0.5561 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.575e-05/0.6582, allocations: 16.52 kB / 0.5562 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.6582, allocations: 2.531 kB / 0.5562 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.624e-05/0.6583, allocations: 9.609 kB / 0.5562 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.6583, allocations: 5.781 kB / 0.5562 GB, free: 14.29 MB / 462.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 8.623e-05/0.6583, allocations: 113.2 kB / 0.5563 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.6584, allocations: 7.25 kB / 0.5563 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.6586, allocations: 120.3 kB / 0.5564 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.6586, allocations: 2.344 kB / 0.5564 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.6587, allocations: 4.203 kB / 0.5564 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6587, allocations: 3.625 kB / 0.5564 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.6588, allocations: 123.8 kB / 0.5565 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.6588, allocations: 2.188 kB / 0.5565 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.802e-05/0.6589, allocations: 18.02 kB / 0.5566 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.6589, allocations: 6.938 kB / 0.5566 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.006e-06/0.6589, allocations: 0 / 0.5566 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.6589, allocations: 0 / 0.5566 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.6589, allocations: 2.219 kB / 0.5566 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.6592, allocations: 161.3 kB / 0.5567 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.6592, allocations: 16.25 kB / 0.5567 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.6593, allocations: 1.203 kB / 0.5567 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.462e-05/0.6593, allocations: 10.11 kB / 0.5567 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.6594, allocations: 6.344 kB / 0.5568 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.6594, allocations: 2.781 kB / 0.5568 GB, free: 13.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.718e-05/0.6594, allocations: 117 kB / 0.5569 GB, free: 13.83 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6594, allocations: 0 / 0.5569 GB, free: 13.83 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006585/0.6601, allocations: 166.4 kB / 0.557 GB, free: 13.8 MB / 462.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.000838/0.6609, allocations: 414.2 kB / 0.5574 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.6611, allocations: 65.02 kB / 0.5575 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6611, allocations: 0 / 0.5575 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.617e-05/0.6612, allocations: 28.88 kB / 0.5575 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.6615, allocations: 36.91 kB / 0.5575 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005717/0.662, allocations: 343.3 kB / 0.5579 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.753e-05/0.6621, allocations: 74.58 kB / 0.5579 GB, free: 13.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.174e-05/0.6621, allocations: 19.66 kB / 0.558 GB, free: 13.29 MB / 462.1 MB Notification: Performance of SimCode: time 4.11e-07/0.6621, allocations: 0 / 0.558 GB, free: 13.29 MB / 462.1 MB Notification: Performance of Templates: time 0.006192/0.6683, allocations: 4.078 MB / 0.5619 GB, free: 12.8 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 8.68744086381048]