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.0008127/0.0008127, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.0008157/0.0008157, allocations: 164.2 kB / 25.45 MB, free: 9.348 MB / 18.57 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 0.791/0.791, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 299.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/1.998e-05, allocations: 2.281 kB / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001429/0.001449, allocations: 1.349 MB / 301 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.2527/0.2541, allocations: 129.6 MB / 430.6 MB, free: 8.812 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.2542, allocations: 0 / 430.6 MB, free: 8.812 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.231e-05/0.2542, allocations: 11.92 kB / 430.6 MB, free: 8.801 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.2553, allocations: 353.1 kB / 430.9 MB, free: 8.457 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.2567, allocations: 0.8427 MB / 431.8 MB, free: 7.613 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.2568, allocations: 75.64 kB / 431.9 MB, free: 7.539 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.604e-05/0.2569, allocations: 3.938 kB / 431.9 MB, free: 7.535 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.622e-05/0.2569, allocations: 43.88 kB / 431.9 MB, free: 7.492 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.132e-05/0.257, allocations: 35.89 kB / 431.9 MB, free: 7.457 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.257, allocations: 0 / 431.9 MB, free: 7.457 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.2586, allocations: 1.2 MB / 433.1 MB, free: 6.254 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.999e-05/0.2586, allocations: 12 kB / 433.2 MB, free: 6.242 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.2586, allocations: 23.92 kB / 433.2 MB, free: 6.219 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.2598, allocations: 0.9313 MB / 434.1 MB, free: 5.285 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2598, allocations: 4 kB / 434.1 MB, free: 5.281 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2598, allocations: 0 / 434.1 MB, free: 5.281 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2598, allocations: 0 / 434.1 MB, free: 5.281 MB / 362.7 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.0005722/0.2604, allocations: 405.5 kB / 434.5 MB, free: 4.855 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.2604, allocations: 15.98 kB / 434.5 MB, free: 4.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.2606, allocations: 42.53 kB / 434.6 MB, free: 4.801 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.2608, allocations: 133.7 kB / 434.7 MB, free: 4.645 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.2608, allocations: 8.375 kB / 434.7 MB, free: 4.637 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.2608, allocations: 4.375 kB / 434.7 MB, free: 4.633 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.2609, allocations: 71.89 kB / 434.8 MB, free: 4.551 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2609, allocations: 3.938 kB / 434.8 MB, free: 4.547 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.2609, allocations: 4 kB / 434.8 MB, free: 4.543 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2609, allocations: 0 / 434.8 MB, free: 4.543 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.786e-05/0.261, allocations: 39.97 kB / 434.8 MB, free: 4.504 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.2612, allocations: 149.4 kB / 435 MB, free: 4.328 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.2614, allocations: 113.1 kB / 435.1 MB, free: 4.199 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.086e-05/0.2614, allocations: 33.77 kB / 435.1 MB, free: 4.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003367/0.2617, allocations: 67.86 kB / 435.2 MB, free: 4.094 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.2618, allocations: 34.56 kB / 435.2 MB, free: 4.051 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.2618, allocations: 7.938 kB / 435.2 MB, free: 4.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002543/0.262, allocations: 117.9 kB / 435.3 MB, free: 3.922 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.2621, allocations: 82.36 kB / 435.4 MB, free: 3.824 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.2622, allocations: 140.9 kB / 435.6 MB, free: 3.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.2622, allocations: 29.7 kB / 435.6 MB, free: 3.645 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.2622, allocations: 84.12 kB / 435.7 MB, free: 3.559 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.2622, allocations: 27.75 kB / 435.7 MB, free: 3.531 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.2623, allocations: 21.72 kB / 435.7 MB, free: 3.504 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.849e-05/0.2624, allocations: 318.8 kB / 436 MB, free: 3.184 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.6e-05/0.2624, allocations: 31.98 kB / 436.1 MB, free: 3.152 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.898e-05/0.2624, allocations: 51.41 kB / 436.1 MB, free: 3.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.643e-05/0.2625, allocations: 83.38 kB / 436.2 MB, free: 2.996 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2625, allocations: 0 / 436.2 MB, free: 2.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001426/0.2627, allocations: 101.6 kB / 436.3 MB, free: 2.891 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.2627, allocations: 4 kB / 436.3 MB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2627, allocations: 4 kB / 436.3 MB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2627, allocations: 11.94 kB / 436.3 MB, free: 2.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.651e-05/0.2628, allocations: 19.92 kB / 436.3 MB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2628, allocations: 0.5469 kB / 436.3 MB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.642e-05/0.2628, allocations: 11.95 kB / 436.3 MB, free: 2.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.2628, allocations: 4 kB / 436.3 MB, free: 2.836 MB / 362.7 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 5.539e-05/0.2629, allocations: 113.8 kB / 436.5 MB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.2629, allocations: 7.953 kB / 436.5 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.263, allocations: 114.2 kB / 436.6 MB, free: 2.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.263, allocations: 3.938 kB / 436.6 MB, free: 2.586 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.263, allocations: 4 kB / 436.6 MB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2631, allocations: 0 / 436.6 MB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.281e-05/0.2631, allocations: 129.3 kB / 436.7 MB, free: 2.426 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2631, allocations: 0 / 436.7 MB, free: 2.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.2632, allocations: 11.98 kB / 436.7 MB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2632, allocations: 0 / 436.7 MB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.2632, allocations: 7.938 kB / 436.7 MB, free: 2.406 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2632, allocations: 0 / 436.7 MB, free: 2.406 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.2632, allocations: 4.812 kB / 436.7 MB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.2634, allocations: 165.8 kB / 436.9 MB, free: 2.219 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.943e-05/0.2634, allocations: 15.97 kB / 436.9 MB, free: 2.203 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.2634, allocations: 0 / 436.9 MB, free: 2.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.2e-05/0.2635, allocations: 8.859 kB / 436.9 MB, free: 2.195 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.2635, allocations: 8.125 kB / 436.9 MB, free: 2.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.2635, allocations: 0 / 436.9 MB, free: 2.188 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.072e-05/0.2636, allocations: 119.6 kB / 437 MB, free: 2.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2636, allocations: 0 / 437 MB, free: 2.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004716/0.264, allocations: 207.3 kB / 437.2 MB, free: 1.867 MB / 362.7 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.0009133/0.2649, allocations: 0.5488 MB / 437.8 MB, free: 1.316 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.2651, allocations: 63.91 kB / 437.9 MB, free: 1.254 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2651, allocations: 0 / 437.9 MB, free: 1.254 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.133e-05/0.2651, allocations: 35.97 kB / 437.9 MB, free: 1.219 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.2653, allocations: 23.33 kB / 437.9 MB, free: 1.199 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.2657, allocations: 290.8 kB / 438.2 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.576e-05/0.2657, allocations: 75.58 kB / 438.3 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.2658, allocations: 16.5 kB / 438.3 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2658, allocations: 0 / 438.3 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of Templates: time 0.005863/0.2716, allocations: 4.931 MB / 443.2 MB, free: 11.84 MB / 378.7 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: 5.327344716526568]