Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008995/0.0008995, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009718/0.0009718, allocations: 160 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9438/0.9438, allocations: 177 MB / 205.2 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 273 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.639e-05, allocations: 5.125 kB / 273 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001524/0.001541, allocations: 1.412 MB / 274.4 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2176/0.2191, allocations: 144.6 MB / 419 MB, free: 15.61 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.936e-05/0.2192, allocations: 0 / 419 MB, free: 15.61 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.866e-05/0.2192, allocations: 7.922 kB / 419 MB, free: 15.6 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.2203, allocations: 384.4 kB / 419.4 MB, free: 15.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.2214, allocations: 0.5368 MB / 420 MB, free: 14.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.2215, allocations: 75.59 kB / 420 MB, free: 14.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.2216, allocations: 3.984 kB / 420 MB, free: 14.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.223e-05/0.2216, allocations: 43.89 kB / 420.1 MB, free: 14.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.543e-05/0.2217, allocations: 27.91 kB / 420.1 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.2217, allocations: 0 / 420.1 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.2229, allocations: 0.9541 MB / 421.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.85e-05/0.2229, allocations: 15.97 kB / 421.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.223, allocations: 19.94 kB / 421.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008215/0.2238, allocations: 0.7596 MB / 421.9 MB, free: 12.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2238, allocations: 0 / 421.9 MB, free: 12.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2238, allocations: 0 / 421.9 MB, free: 12.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.2238, allocations: 0 / 421.9 MB, free: 12.8 MB / 378.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.0004795/0.2243, allocations: 484.5 kB / 422.3 MB, free: 12.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2243, allocations: 11.98 kB / 422.3 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003649/0.2247, allocations: 80.67 kB / 422.4 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.2248, allocations: 132.5 kB / 422.5 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.2248, allocations: 8.359 kB / 422.6 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.2248, allocations: 4.562 kB / 422.6 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.2249, allocations: 78.25 kB / 422.6 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.225, allocations: 0 / 422.6 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.225, allocations: 4 kB / 422.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.225, allocations: 7.938 kB / 422.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.324e-05/0.225, allocations: 13.67 kB / 422.7 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.2251, allocations: 140.4 kB / 422.8 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.2253, allocations: 82.11 kB / 422.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.899e-05/0.2253, allocations: 31.42 kB / 422.9 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002138/0.2256, allocations: 51.94 kB / 423 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.2256, allocations: 33.39 kB / 423 MB, free: 11.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.2256, allocations: 4 kB / 423 MB, free: 11.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001958/0.2258, allocations: 85.5 kB / 423.1 MB, free: 11.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.2258, allocations: 77.11 kB / 423.2 MB, free: 11.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.056e-05/0.2259, allocations: 189.8 kB / 423.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.2259, allocations: 29.7 kB / 423.4 MB, free: 11.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.2259, allocations: 130.9 kB / 423.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.226, allocations: 23.8 kB / 423.5 MB, free: 10.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.226, allocations: 27.36 kB / 423.5 MB, free: 10.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2261, allocations: 0.4884 MB / 424 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.14e-05/0.2261, allocations: 11.92 kB / 424 MB, free: 10.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.305e-05/0.2262, allocations: 47.11 kB / 424.1 MB, free: 10.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.473e-05/0.2262, allocations: 62.67 kB / 424.2 MB, free: 10.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2262, allocations: 0 / 424.2 MB, free: 10.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000111/0.2263, allocations: 85.5 kB / 424.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.2264, allocations: 8.562 kB / 424.2 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2264, allocations: 4 kB / 424.3 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2264, allocations: 0 / 424.3 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.228e-05/0.2264, allocations: 15.98 kB / 424.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2264, allocations: 3.938 kB / 424.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.691e-05/0.2264, allocations: 16.83 kB / 424.3 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.2264, allocations: 4 kB / 424.3 MB, free: 10.09 MB / 378.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.546e-05/0.2265, allocations: 152.6 kB / 424.4 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.2265, allocations: 19.89 kB / 424.5 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.2267, allocations: 83.61 kB / 424.5 MB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2267, allocations: 0 / 424.5 MB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.2267, allocations: 0 / 424.5 MB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2267, allocations: 0 / 424.5 MB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.43e-05/0.2267, allocations: 128.6 kB / 424.7 MB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2267, allocations: 2.375 kB / 424.7 MB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-05/0.2268, allocations: 19.98 kB / 424.7 MB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2268, allocations: 0 / 424.7 MB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.2268, allocations: 0 / 424.7 MB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2268, allocations: 7.938 kB / 424.7 MB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2268, allocations: 0 / 424.7 MB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.2269, allocations: 127.9 kB / 424.8 MB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.227, allocations: 11.94 kB / 424.8 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.227, allocations: 0 / 424.8 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.163e-05/0.227, allocations: 11.94 kB / 424.8 MB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.227, allocations: 3.984 kB / 424.8 MB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.227, allocations: 11.97 kB / 424.9 MB, free: 9.445 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.798e-05/0.2271, allocations: 144.6 kB / 425 MB, free: 9.305 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2271, allocations: 0 / 425 MB, free: 9.305 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003254/0.2274, allocations: 163.4 kB / 425.2 MB, free: 9.145 MB / 378.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.0006197/0.228, allocations: 439.5 kB / 425.6 MB, free: 8.703 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.634e-05/0.2281, allocations: 35.61 kB / 425.6 MB, free: 8.664 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2281, allocations: 0 / 425.6 MB, free: 8.664 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.842e-05/0.2282, allocations: 34.55 kB / 425.7 MB, free: 8.629 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.2284, allocations: 34.52 kB / 425.7 MB, free: 8.598 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000579/0.2289, allocations: 252.2 kB / 425.9 MB, free: 8.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.128e-05/0.229, allocations: 67.34 kB / 426 MB, free: 8.234 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.241e-05/0.229, allocations: 15.59 kB / 426 MB, free: 8.223 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.229, allocations: 20.44 kB / 426 MB, free: 8.203 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.229, allocations: 0 / 426 MB, free: 8.203 MB / 378.7 MB Notification: Performance of Templates: time 0.006174/0.2352, allocations: 5.024 MB / 431.1 MB, free: 3.242 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.0243853589054197]