Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.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.002017/0.002017, allocations: 116.1 kB / 18.46 MB, free: 4.609 MB / 14.72 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.002425/0.002425, allocations: 216.3 kB / 21.42 MB, free: 1.652 MB / 14.72 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 1.552/1.552, allocations: 230.6 MB / 254.8 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] 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.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 55.91 kB / 374.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1187, allocations: 53.33 MB / 427.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003426/0.1221, allocations: 1.704 MB / 429.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1233, allocations: 0.5571 MB / 429.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.1234, allocations: 0 / 429.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.1235, allocations: 11.86 kB / 429.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.1236, allocations: 19.8 kB / 429.8 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.1239, allocations: 63.86 kB / 429.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.1241, allocations: 99.7 kB / 429.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1242, allocations: 25.09 kB / 430 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.1243, allocations: 51.72 kB / 430 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.326e-05/0.1244, allocations: 47.77 kB / 430.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.1245, allocations: 8 kB / 430.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.475e-05/0.1245, allocations: 8 kB / 430.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.618e-05/0.1246, allocations: 19.92 kB / 430.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.33e-05/0.1246, allocations: 43.67 kB / 430.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.1248, allocations: 91.52 kB / 430.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1248, allocations: 8 kB / 430.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1248, allocations: 0 / 430.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.1248, allocations: 3.938 kB / 430.2 MB, free: 1.539 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.0006119/0.1254, allocations: 407 kB / 430.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1255, allocations: 12.03 kB / 430.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.1256, allocations: 24.83 kB / 430.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.1259, allocations: 216.6 kB / 430.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1259, allocations: 8.375 kB / 430.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.126, allocations: 12.12 kB / 430.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.1261, allocations: 77.66 kB / 431 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1262, allocations: 0 / 431 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1262, allocations: 4 kB / 431 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1262, allocations: 0 / 431 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.1263, allocations: 39.92 kB / 431 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/0.1269, allocations: 415.9 kB / 431.4 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.127, allocations: 54.59 kB / 431.5 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.254e-05/0.1271, allocations: 28.89 kB / 431.5 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.1271, allocations: 0 / 431.5 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.1271, allocations: 42.56 kB / 431.5 MB, free: 52 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1271, allocations: 0 / 431.5 MB, free: 52 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003113/0.1274, allocations: 101.7 kB / 431.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.1275, allocations: 51.41 kB / 431.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.1276, allocations: 148.3 kB / 431.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1276, allocations: 25.7 kB / 431.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.1277, allocations: 108.1 kB / 432 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.1278, allocations: 23.92 kB / 432 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.1278, allocations: 21.72 kB / 432 MB, free: 15.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.128, allocations: 322.8 kB / 432.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.128, allocations: 19.98 kB / 432.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.322e-05/0.1281, allocations: 19.98 kB / 432.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.1282, allocations: 56.77 kB / 432.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1282, allocations: 0 / 432.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001784/0.1284, allocations: 93.56 kB / 432.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1284, allocations: 11.94 kB / 432.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1284, allocations: 0 / 432.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1284, allocations: 0 / 432.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.1286, allocations: 35.97 kB / 432.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1286, allocations: 0 / 432.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.616e-05/0.1287, allocations: 11.94 kB / 432.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1287, allocations: 0 / 432.6 MB, free: 14.95 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.34e-05/0.1288, allocations: 113.8 kB / 432.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.1288, allocations: 15.89 kB / 432.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.1288, allocations: 20.3 kB / 432.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1289, allocations: 0 / 432.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1289, allocations: 3.938 kB / 432.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1289, allocations: 3.984 kB / 432.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.1291, allocations: 197.9 kB / 432.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1291, allocations: 4 kB / 432.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.1292, allocations: 23.92 kB / 432.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1292, allocations: 3.938 kB / 433 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1292, allocations: 0 / 433 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1292, allocations: 4 kB / 433 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1292, allocations: 0 / 433 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.1295, allocations: 199.5 kB / 433.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.1296, allocations: 92.97 kB / 433.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.1296, allocations: 0 / 433.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-05/0.1297, allocations: 7.984 kB / 433.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.1297, allocations: 4.062 kB / 433.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1297, allocations: 0 / 433.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.718e-05/0.1298, allocations: 118.2 kB / 433.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1298, allocations: 0 / 433.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002246/0.1301, allocations: 19.89 kB / 433.4 MB, free: 14.04 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.0001086/0.1302, allocations: 91.25 kB / 433.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.1304, allocations: 47.97 kB / 433.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1304, allocations: 0 / 433.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.058e-05/0.1305, allocations: 35.92 kB / 433.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.1308, allocations: 29.17 kB / 433.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006318/0.1314, allocations: 286.2 kB / 433.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.1318, allocations: 0.708 MB / 434.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.1318, allocations: 11.44 kB / 434.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1318, allocations: 0 / 434.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of Templates: time 0.002967/0.1348, allocations: 1.217 MB / 435.8 MB, free: 11.56 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.365192476980155]