Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.InverseModel.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.001639/0.001639, allocations: 118.6 kB / 18.5 MB, free: 4.543 MB / 14.72 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.001395/0.001395, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 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 1.597/1.597, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] 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.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.89 kB / 373.8 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1154, allocations: 53.32 MB / 427.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003319/0.1187, allocations: 1.706 MB / 428.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1198, allocations: 0.5494 MB / 429.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.613e-05/0.1199, allocations: 3.938 kB / 429.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.12, allocations: 11.86 kB / 429.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.1202, allocations: 27.78 kB / 429.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.1204, allocations: 63.8 kB / 429.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.1206, allocations: 95.7 kB / 429.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1208, allocations: 21.11 kB / 429.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1209, allocations: 55.77 kB / 429.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.121, allocations: 47.72 kB / 429.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.121, allocations: 4 kB / 429.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.027e-05/0.1211, allocations: 16 kB / 429.7 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.343e-05/0.1211, allocations: 23.91 kB / 429.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.1212, allocations: 39.73 kB / 429.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.1214, allocations: 87.58 kB / 429.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1214, allocations: 7.875 kB / 429.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1214, allocations: 0 / 429.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1214, allocations: 0 / 429.9 MB, free: 1.734 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006915/0.1221, allocations: 413.7 kB / 430.3 MB, free: 1.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1221, allocations: 8.031 kB / 430.3 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.1223, allocations: 24.83 kB / 430.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.1226, allocations: 215.5 kB / 430.5 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1226, allocations: 8.312 kB / 430.5 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.1226, allocations: 12.12 kB / 430.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.1228, allocations: 81.66 kB / 430.6 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1228, allocations: 0 / 430.6 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.1229, allocations: 4 kB / 430.6 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1229, allocations: 0 / 430.6 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.123, allocations: 39.98 kB / 430.7 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006071/0.1236, allocations: 415.9 kB / 431.1 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.1238, allocations: 62.59 kB / 431.1 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.831e-05/0.1238, allocations: 24.89 kB / 431.2 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1239, allocations: 3.938 kB / 431.2 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1239, allocations: 38.56 kB / 431.2 MB, free: 248 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1239, allocations: 4 kB / 431.2 MB, free: 244 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000302/0.1242, allocations: 97.55 kB / 431.3 MB, free: 140 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.1242, allocations: 55.41 kB / 431.4 MB, free: 72 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.1244, allocations: 142.4 kB / 431.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.1244, allocations: 25.7 kB / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.185e-05/0.1245, allocations: 108.1 kB / 431.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.1245, allocations: 23.92 kB / 431.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.1245, allocations: 21.72 kB / 431.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1247, allocations: 318.8 kB / 432 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.384e-05/0.1247, allocations: 23.98 kB / 432 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.325e-05/0.1248, allocations: 23.94 kB / 432 MB, free: 15.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.1249, allocations: 52.97 kB / 432.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1249, allocations: 3.938 kB / 432.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001742/0.1251, allocations: 93.5 kB / 432.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.1251, allocations: 4 kB / 432.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.1251, allocations: 4 kB / 432.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1251, allocations: 0 / 432.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.1254, allocations: 39.97 kB / 432.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.1254, allocations: 3.938 kB / 432.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.691e-05/0.1254, allocations: 11.94 kB / 432.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.1254, allocations: 4.25 kB / 432.3 MB, free: 15.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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 9.087e-05/0.1255, allocations: 113.8 kB / 432.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.1256, allocations: 11.89 kB / 432.4 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.1256, allocations: 12.31 kB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1256, allocations: 4 kB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1256, allocations: 7.984 kB / 432.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1256, allocations: 0 / 432.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.1258, allocations: 193.6 kB / 432.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1258, allocations: 0 / 432.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.126, allocations: 23.92 kB / 432.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.126, allocations: 4 kB / 432.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.126, allocations: 0 / 432.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.126, allocations: 0 / 432.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.126, allocations: 0 / 432.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.1263, allocations: 207.4 kB / 432.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.1263, allocations: 92.97 kB / 432.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.1264, allocations: 7.984 kB / 432.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/0.1264, allocations: 0 / 432.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.1265, allocations: 4 kB / 432.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.1265, allocations: 0 / 432.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.75e-05/0.1266, allocations: 114.4 kB / 433 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1266, allocations: 0 / 433 MB, free: 14.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.1268, allocations: 24.02 kB / 433.1 MB, free: 14.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder1.y,firstOrder2.y) * 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 (5): * Single equations (assignments): 5 * 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.0001081/0.1269, allocations: 91.25 kB / 433.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.1271, allocations: 51.91 kB / 433.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1271, allocations: 0 / 433.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.322e-05/0.1272, allocations: 19.98 kB / 433.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.1275, allocations: 29.27 kB / 433.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006254/0.1281, allocations: 264.5 kB / 433.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.1285, allocations: 0.7002 MB / 434.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.699e-05/0.1285, allocations: 12.17 kB / 434.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.1285, allocations: 15.44 kB / 434.2 MB, free: 13 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1285, allocations: 0 / 434.2 MB, free: 13 MB / 366.1 MB Notification: Performance of Templates: time 0.003926/0.1325, allocations: 0.9199 MB / 435.1 MB, free: 12.09 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_trunk_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.InverseModel.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.771400083787739]