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.001308/0.001308, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001586/0.001586, allocations: 168.7 kB / 25.75 MB, free: 8.582 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.8806/0.8806, allocations: 158.6 MB / 187.6 MB, free: 2.898 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.874e-06/1.874e-06, allocations: 0 / 251.1 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.567e-05, allocations: 2.312 kB / 251.1 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00233/0.002355, allocations: 1.409 MB / 252.5 MB, free: 6.402 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.258/0.2604, allocations: 143.4 MB / 395.9 MB, free: 9.977 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.472e-05/0.2605, allocations: 0 / 395.9 MB, free: 9.977 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.689e-05/0.2605, allocations: 6.094 kB / 395.9 MB, free: 9.973 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009675/0.2615, allocations: 363.1 kB / 396.3 MB, free: 9.926 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.2627, allocations: 0.8264 MB / 397.1 MB, free: 9.832 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.663e-05/0.2628, allocations: 78.27 kB / 397.2 MB, free: 9.832 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.589e-05/0.2628, allocations: 0 / 397.2 MB, free: 9.832 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.716e-05/0.2629, allocations: 47.69 kB / 397.2 MB, free: 9.828 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.956e-05/0.263, allocations: 28.08 kB / 397.3 MB, free: 9.828 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.263, allocations: 2.812 kB / 397.3 MB, free: 9.828 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.2642, allocations: 1.199 MB / 398.5 MB, free: 9.719 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.2643, allocations: 17.16 kB / 398.5 MB, free: 9.719 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.2643, allocations: 18.31 kB / 398.5 MB, free: 9.715 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008733/0.2652, allocations: 0.9395 MB / 399.4 MB, free: 9.395 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2652, allocations: 7.484 kB / 399.4 MB, free: 9.391 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2652, allocations: 0 / 399.4 MB, free: 9.391 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.2652, allocations: 0 / 399.4 MB, free: 9.391 MB / 330.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.0004141/0.2656, allocations: 0.4955 MB / 399.9 MB, free: 8.926 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.2656, allocations: 12.77 kB / 400 MB, free: 8.922 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002376/0.2659, allocations: 41.77 kB / 400 MB, free: 8.906 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.309e-05/0.266, allocations: 134 kB / 400.1 MB, free: 8.766 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.266, allocations: 4 kB / 400.1 MB, free: 8.766 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.266, allocations: 3.344 kB / 400.1 MB, free: 8.766 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.2661, allocations: 77.89 kB / 400.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.2661, allocations: 3.938 kB / 400.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.2661, allocations: 6.25 kB / 400.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2661, allocations: 0 / 400.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.079e-05/0.2661, allocations: 12.64 kB / 400.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001044/0.2662, allocations: 134.4 kB / 400.4 MB, free: 8.523 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.2664, allocations: 90.34 kB / 400.4 MB, free: 8.441 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.129e-05/0.2664, allocations: 21.22 kB / 400.5 MB, free: 8.418 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/0.2666, allocations: 61.77 kB / 400.5 MB, free: 8.395 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.2667, allocations: 39.2 kB / 400.6 MB, free: 8.352 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.2667, allocations: 0 / 400.6 MB, free: 8.352 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001746/0.2668, allocations: 78.06 kB / 400.6 MB, free: 8.301 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.2669, allocations: 84.03 kB / 400.7 MB, free: 8.203 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6e-05/0.2669, allocations: 183.5 kB / 400.9 MB, free: 8.035 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.4e-06/0.2669, allocations: 37.58 kB / 400.9 MB, free: 7.992 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.908e-05/0.2669, allocations: 136.8 kB / 401.1 MB, free: 7.859 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.267, allocations: 25.28 kB / 401.1 MB, free: 7.844 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.267, allocations: 31.86 kB / 401.1 MB, free: 7.816 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.18e-05/0.267, allocations: 0.4905 MB / 401.6 MB, free: 7.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.267, allocations: 2.781 kB / 401.6 MB, free: 7.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.316e-05/0.2671, allocations: 46.86 kB / 401.7 MB, free: 7.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.868e-05/0.2671, allocations: 63.2 kB / 401.7 MB, free: 7.215 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2671, allocations: 4 kB / 401.7 MB, free: 7.211 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.277e-05/0.2672, allocations: 68.25 kB / 401.8 MB, free: 7.172 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.2672, allocations: 5.969 kB / 401.8 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2672, allocations: 3.984 kB / 401.8 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2672, allocations: 9.969 kB / 401.8 MB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.985e-05/0.2673, allocations: 15.31 kB / 401.8 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2673, allocations: 2.969 kB / 401.8 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.323e-05/0.2673, allocations: 11.45 kB / 401.9 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.2673, allocations: 3.031 kB / 401.9 MB, free: 7.152 MB / 330.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 3.513e-05/0.2673, allocations: 165.9 kB / 402 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.2674, allocations: 10.11 kB / 402 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.2675, allocations: 82.23 kB / 402.1 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2675, allocations: 7.031 kB / 402.1 MB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.2675, allocations: 0 / 402.1 MB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2675, allocations: 3.984 kB / 402.1 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.484e-05/0.2675, allocations: 129.4 kB / 402.2 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.2675, allocations: 0 / 402.2 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.2676, allocations: 8.219 kB / 402.3 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.2676, allocations: 0 / 402.3 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.2676, allocations: 6.875 kB / 402.3 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.2676, allocations: 0 / 402.3 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2676, allocations: 10.86 kB / 402.3 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.2677, allocations: 121.8 kB / 402.4 MB, free: 6.668 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/0.2677, allocations: 14.25 kB / 402.4 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.2677, allocations: 3.312 kB / 402.4 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.829e-05/0.2678, allocations: 0.875 kB / 402.4 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.2678, allocations: 10.61 kB / 402.4 MB, free: 6.652 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.2678, allocations: 2.531 kB / 402.4 MB, free: 6.652 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.781e-05/0.2678, allocations: 148.1 kB / 402.6 MB, free: 6.527 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2678, allocations: 4.031 kB / 402.6 MB, free: 6.523 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003161/0.2681, allocations: 206.2 kB / 402.8 MB, free: 6.477 MB / 330.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.0007456/0.2689, allocations: 0.5457 MB / 403.3 MB, free: 6.227 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.109e-05/0.269, allocations: 42.61 kB / 403.4 MB, free: 6.203 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.269, allocations: 0 / 403.4 MB, free: 6.203 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.186e-05/0.269, allocations: 23.89 kB / 403.4 MB, free: 6.188 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.2692, allocations: 39.8 kB / 403.4 MB, free: 6.176 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/0.2697, allocations: 258.2 kB / 403.7 MB, free: 5.957 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.959e-05/0.2697, allocations: 60.84 kB / 403.7 MB, free: 5.883 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.553e-05/0.2698, allocations: 20.8 kB / 403.8 MB, free: 5.871 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.2698, allocations: 13.94 kB / 403.8 MB, free: 5.863 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2698, allocations: 7.062 kB / 403.8 MB, free: 5.859 MB / 330.7 MB Notification: Performance of Templates: time 0.006149/0.2759, allocations: 6.418 MB / 410.2 MB, free: 2.562 MB / 330.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0622709770686924]