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.001267/0.001267, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001372/0.001372, allocations: 207.6 kB / 23.73 MB, free: 4.379 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001555/0.001555, allocations: 47.92 kB / 378.2 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2365, allocations: 53.37 MB / 431.6 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00239/0.2389, allocations: 1.351 MB / 432.9 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3807/0.6197, allocations: 130.9 MB / 0.5506 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.763e-05/0.6197, allocations: 0 / 0.5506 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/0.6197, allocations: 7.547 kB / 0.5506 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009933/0.6207, allocations: 385.4 kB / 0.551 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009632/0.6217, allocations: 0.517 MB / 0.5515 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.88e-05/0.6218, allocations: 74.42 kB / 0.5516 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.6218, allocations: 4.594 kB / 0.5516 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.127e-05/0.6219, allocations: 34.12 kB / 0.5516 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.614e-05/0.622, allocations: 39.72 kB / 0.5517 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.622, allocations: 1.281 kB / 0.5517 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.6234, allocations: 0.9569 MB / 0.5526 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.85e-05/0.6234, allocations: 18.73 kB / 0.5526 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.667e-05/0.6235, allocations: 24.28 kB / 0.5526 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008838/0.6243, allocations: 0.6695 MB / 0.5533 GB, free: 15.85 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.6244, allocations: 0 / 0.5533 GB, free: 15.85 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.6244, allocations: 0 / 0.5533 GB, free: 15.85 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.6244, allocations: 0 / 0.5533 GB, free: 15.85 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.0006208/0.625, allocations: 384.2 kB / 0.5537 GB, free: 15.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.625, allocations: 9.625 kB / 0.5537 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004608/0.6255, allocations: 73.41 kB / 0.5537 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.6256, allocations: 145.2 kB / 0.5539 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.6257, allocations: 5.312 kB / 0.5539 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.6257, allocations: 6 kB / 0.5539 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.6258, allocations: 70.2 kB / 0.5539 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.6258, allocations: 1.375 kB / 0.5539 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-06/0.6258, allocations: 3.625 kB / 0.554 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.6259, allocations: 1.375 kB / 0.554 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.672e-05/0.626, allocations: 39.8 kB / 0.554 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.6261, allocations: 141.6 kB / 0.5541 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.6264, allocations: 119.2 kB / 0.5542 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.827e-05/0.6265, allocations: 43.02 kB / 0.5543 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004749/0.627, allocations: 53.31 kB / 0.5543 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.627, allocations: 43.38 kB / 0.5544 GB, free: 15.08 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.627, allocations: 0 / 0.5544 GB, free: 15.08 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003467/0.6274, allocations: 117.1 kB / 0.5545 GB, free: 15.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.6274, allocations: 79.45 kB / 0.5546 GB, free: 14.95 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.6275, allocations: 143.6 kB / 0.5547 GB, free: 14.85 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.6275, allocations: 30.38 kB / 0.5547 GB, free: 14.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.6276, allocations: 88.73 kB / 0.5548 GB, free: 14.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.6276, allocations: 24.66 kB / 0.5548 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.6277, allocations: 24.53 kB / 0.5549 GB, free: 14.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6278, allocations: 321.2 kB / 0.5552 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.762e-05/0.6279, allocations: 20.38 kB / 0.5552 GB, free: 14.39 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.978e-05/0.628, allocations: 53.86 kB / 0.5552 GB, free: 14.35 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.6281, allocations: 79.44 kB / 0.5553 GB, free: 14.32 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6281, allocations: 0 / 0.5553 GB, free: 14.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002447/0.6284, allocations: 112.9 kB / 0.5554 GB, free: 14.28 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.6284, allocations: 5.5 kB / 0.5554 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.6284, allocations: 5.203 kB / 0.5554 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.6284, allocations: 3.594 kB / 0.5554 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.265e-05/0.6285, allocations: 20.16 kB / 0.5555 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.6285, allocations: 3.5 kB / 0.5555 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.292e-05/0.6285, allocations: 3.953 kB / 0.5555 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.6285, allocations: 5.125 kB / 0.5555 GB, free: 14.27 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.416e-05/0.6286, allocations: 117.1 kB / 0.5556 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-05/0.6287, allocations: 14.42 kB / 0.5556 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.6289, allocations: 112.2 kB / 0.5557 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.6289, allocations: 9.25 kB / 0.5557 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.6289, allocations: 0 / 0.5557 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.6289, allocations: 1.203 kB / 0.5557 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.629, allocations: 131.7 kB / 0.5558 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.629, allocations: 0 / 0.5558 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.482e-05/0.6291, allocations: 13.95 kB / 0.5558 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.6291, allocations: 3.281 kB / 0.5558 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.6291, allocations: 0 / 0.5558 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.6291, allocations: 8.672 kB / 0.5559 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.6291, allocations: 3.344 kB / 0.5559 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.6295, allocations: 164.3 kB / 0.556 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.6295, allocations: 18.67 kB / 0.556 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.6295, allocations: 0 / 0.556 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5e-05/0.6296, allocations: 3.812 kB / 0.556 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.6296, allocations: 8.828 kB / 0.556 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.6296, allocations: 3.625 kB / 0.556 GB, free: 13.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.501e-05/0.6297, allocations: 115.2 kB / 0.5562 GB, free: 13.81 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6297, allocations: 0 / 0.5562 GB, free: 13.81 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004723/0.6302, allocations: 167 kB / 0.5563 GB, free: 13.78 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.0008441/0.631, allocations: 411.4 kB / 0.5567 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.6312, allocations: 63.84 kB / 0.5568 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6312, allocations: 5.031 kB / 0.5568 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.124e-05/0.6313, allocations: 33.64 kB / 0.5568 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.6315, allocations: 22 kB / 0.5568 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005167/0.632, allocations: 324.5 kB / 0.5571 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.731e-05/0.6321, allocations: 71.95 kB / 0.5572 GB, free: 13.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.698e-05/0.6322, allocations: 22.88 kB / 0.5572 GB, free: 13.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.6322, allocations: 13.94 kB / 0.5572 GB, free: 13.3 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.6322, allocations: 0 / 0.5572 GB, free: 13.3 MB / 462.1 MB Notification: Performance of Templates: time 0.008052/0.6402, allocations: 4.912 MB / 0.562 GB, free: 12.75 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/jenkins/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/jenkins/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: 4.916643805801868]