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.001687/0.001687, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001494/0.001494, allocations: 170.3 kB / 24.82 MB, free: 9.266 MB / 18.57 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 0.9211/0.9211, allocations: 177.1 MB / 205.3 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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 1.643e-06/1.643e-06, allocations: 0 / 273.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.609e-05, allocations: 6.312 kB / 273.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002106/0.002132, allocations: 1.416 MB / 274.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.2427/0.2448, allocations: 142.2 MB / 417 MB, free: 2.023 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.19e-05/0.2449, allocations: 0 / 417 MB, free: 2.023 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 5.258e-05/0.2449, allocations: 11.92 kB / 417 MB, free: 2.012 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.2468, allocations: 380.5 kB / 417.4 MB, free: 1.652 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.2483, allocations: 0.5445 MB / 417.9 MB, free: 1.105 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.2484, allocations: 71.66 kB / 418 MB, free: 1.035 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.801e-05/0.2485, allocations: 4 kB / 418 MB, free: 1.031 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.2486, allocations: 51.81 kB / 418 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.2487, allocations: 23.97 kB / 418.1 MB, free: 0.957 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.2488, allocations: 4 kB / 418.1 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002625/0.2514, allocations: 0.9463 MB / 419 MB, free: 4 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.826e-05/0.2515, allocations: 16.59 kB / 419 MB, free: 15.99 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.2515, allocations: 15.94 kB / 419 MB, free: 15.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.253, allocations: 0.7603 MB / 419.8 MB, free: 15.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.253, allocations: 7.984 kB / 419.8 MB, free: 15.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.253, allocations: 0 / 419.8 MB, free: 15.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.253, allocations: 0 / 419.8 MB, free: 15.2 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.0007737/0.2538, allocations: 484.5 kB / 420.3 MB, free: 14.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.837e-05/0.2538, allocations: 8.031 kB / 420.3 MB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004523/0.2543, allocations: 84.67 kB / 420.4 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.2544, allocations: 129.1 kB / 420.5 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.2545, allocations: 384 / 420.5 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.2545, allocations: 4.547 kB / 420.5 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.2547, allocations: 87.05 kB / 420.6 MB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.2547, allocations: 0 / 420.6 MB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.2547, allocations: 4 kB / 420.6 MB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.2547, allocations: 0 / 420.6 MB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.631e-05/0.2547, allocations: 19.92 kB / 420.6 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.2549, allocations: 113 kB / 420.7 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.2551, allocations: 86.17 kB / 420.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.2552, allocations: 23.44 kB / 420.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002532/0.2554, allocations: 56.75 kB / 420.9 MB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.2554, allocations: 33.39 kB / 420.9 MB, free: 13.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.2554, allocations: 0 / 420.9 MB, free: 13.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.000228/0.2557, allocations: 77.88 kB / 421 MB, free: 13.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.2557, allocations: 77.11 kB / 421.1 MB, free: 13.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.873e-05/0.2558, allocations: 186.5 kB / 421.3 MB, free: 13.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.2558, allocations: 29.7 kB / 421.3 MB, free: 13.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.2559, allocations: 134.9 kB / 421.4 MB, free: 13.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.2559, allocations: 27.78 kB / 421.4 MB, free: 13.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.256, allocations: 27.36 kB / 421.5 MB, free: 13.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.2561, allocations: 0.4884 MB / 422 MB, free: 12.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.982e-05/0.2561, allocations: 11.92 kB / 422 MB, free: 12.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.685e-05/0.2562, allocations: 46.72 kB / 422 MB, free: 12.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.748e-05/0.2563, allocations: 58.67 kB / 422.1 MB, free: 12.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.2563, allocations: 4 kB / 422.1 MB, free: 12.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001575/0.2564, allocations: 81.5 kB / 422.2 MB, free: 12.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2564, allocations: 4 kB / 422.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.2564, allocations: 0.5 kB / 422.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.2565, allocations: 7.938 kB / 422.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.103e-05/0.2565, allocations: 15.98 kB / 422.2 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2565, allocations: 4.875 kB / 422.2 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.782e-05/0.2565, allocations: 11.77 kB / 422.2 MB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.2566, allocations: 0 / 422.2 MB, free: 12.56 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 8.467e-05/0.2566, allocations: 160.6 kB / 422.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.2567, allocations: 15.95 kB / 422.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.2568, allocations: 80.44 kB / 422.5 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2568, allocations: 7.938 kB / 422.5 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.2568, allocations: 0 / 422.5 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.2569, allocations: 0 / 422.5 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.257, allocations: 113.2 kB / 422.6 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.257, allocations: 0 / 422.6 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-05/0.257, allocations: 8 kB / 422.6 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.257, allocations: 0 / 422.6 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.257, allocations: 15.92 kB / 422.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.257, allocations: 0 / 422.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.257, allocations: 4 kB / 422.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.2572, allocations: 123.9 kB / 422.7 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/0.2573, allocations: 11.94 kB / 422.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.2573, allocations: 0 / 422.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.616e-05/0.2573, allocations: 3.984 kB / 422.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.2574, allocations: 12.12 kB / 422.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.2574, allocations: 0 / 422.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.292e-05/0.2574, allocations: 144.2 kB / 422.9 MB, free: 11.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2574, allocations: 0 / 422.9 MB, free: 11.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005561/0.258, allocations: 167.4 kB / 423.1 MB, free: 11.64 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.0007675/0.2587, allocations: 442.9 kB / 423.5 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.2589, allocations: 39.61 kB / 423.5 MB, free: 11.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2589, allocations: 0 / 423.5 MB, free: 11.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.786e-05/0.2589, allocations: 23.61 kB / 423.5 MB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.2591, allocations: 36.89 kB / 423.6 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006289/0.2597, allocations: 258.1 kB / 423.8 MB, free: 10.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.343e-05/0.2598, allocations: 59.34 kB / 423.9 MB, free: 10.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.146e-05/0.2598, allocations: 15.61 kB / 423.9 MB, free: 10.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.659e-05/0.2599, allocations: 94.17 kB / 424 MB, free: 10.63 MB / 378.7 MB Notification: Performance of SimCode: time 9.31e-07/0.2599, allocations: 0 / 424 MB, free: 10.63 MB / 378.7 MB Notification: Performance of Templates: time 0.009645/0.2696, allocations: 6.362 MB / 430.4 MB, free: 4.332 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] 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","",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.1064753960818052]