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.001436/0.001436, allocations: 81.39 kB / 21.25 MB, free: 0.5469 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.001475/0.001475, allocations: 159.9 kB / 24.5 MB, free: 3.719 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.59/1.59, allocations: 177.1 MB / 204.7 MB, free: 8.973 MB / 190.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.001741/0.001741, allocations: 62.08 kB / 325.5 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.125, allocations: 53.39 MB / 378.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003162/0.1282, allocations: 1.675 MB / 380.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1293, allocations: 0.522 MB / 381.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.251e-05/0.1294, allocations: 0 / 381.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.33e-05/0.1295, allocations: 11.88 kB / 381.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.1296, allocations: 27.8 kB / 381.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.1298, allocations: 63.84 kB / 381.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.13, allocations: 99.69 kB / 381.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.1302, allocations: 25.23 kB / 381.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.1303, allocations: 51.78 kB / 381.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.806e-05/0.1304, allocations: 39.77 kB / 381.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.1304, allocations: 4 kB / 381.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.851e-05/0.1305, allocations: 12 kB / 381.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.125e-05/0.1305, allocations: 19.92 kB / 381.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.848e-05/0.1306, allocations: 39.73 kB / 381.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.1308, allocations: 91.58 kB / 381.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1308, allocations: 0 / 381.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1308, allocations: 0 / 381.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1308, allocations: 0 / 381.6 MB, free: 12.78 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.0006025/0.1314, allocations: 345.8 kB / 381.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1314, allocations: 11.98 kB / 381.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.1316, allocations: 28.83 kB / 381.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.1318, allocations: 150.9 kB / 382.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1318, allocations: 384 / 382.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.1319, allocations: 16.12 kB / 382.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.132, allocations: 73.66 kB / 382.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1321, allocations: 3.938 kB / 382.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1321, allocations: 4 kB / 382.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1321, allocations: 0 / 382.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.1322, allocations: 43.92 kB / 382.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.1327, allocations: 292.2 kB / 382.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.1328, allocations: 66.56 kB / 382.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.699e-05/0.1329, allocations: 24.86 kB / 382.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.1329, allocations: 7.984 kB / 382.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.1329, allocations: 30.56 kB / 382.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.1329, allocations: 0 / 382.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002648/0.1332, allocations: 105.6 kB / 382.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.1333, allocations: 55.34 kB / 382.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.1334, allocations: 149.2 kB / 382.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1334, allocations: 25.7 kB / 383 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.849e-05/0.1335, allocations: 116.2 kB / 383.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.1335, allocations: 11.86 kB / 383.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.1335, allocations: 21.7 kB / 383.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1337, allocations: 318.8 kB / 383.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.874e-05/0.1338, allocations: 23.98 kB / 383.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.059e-05/0.1338, allocations: 19.98 kB / 383.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.1339, allocations: 48.84 kB / 383.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1339, allocations: 4 kB / 383.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001652/0.1341, allocations: 85.56 kB / 383.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1341, allocations: 10.91 kB / 383.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.1341, allocations: 0 / 383.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1341, allocations: 4 kB / 383.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.1343, allocations: 39.97 kB / 383.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.1343, allocations: 0 / 383.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/0.1344, allocations: 15.89 kB / 383.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.1344, allocations: 0 / 383.7 MB, free: 10.5 MB / 350.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.804e-05/0.1345, allocations: 113.8 kB / 383.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.1345, allocations: 11.89 kB / 383.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.1346, allocations: 16.45 kB / 383.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1346, allocations: 0 / 383.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1346, allocations: 0 / 383.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1346, allocations: 0 / 383.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.1348, allocations: 145.2 kB / 384 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1348, allocations: 0 / 384 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.1349, allocations: 31.91 kB / 384 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1349, allocations: 0 / 384 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1349, allocations: 3.938 kB / 384 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1349, allocations: 0 / 384 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1349, allocations: 0 / 384 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.1352, allocations: 203.5 kB / 384.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.1352, allocations: 8.219 kB / 384.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1353, allocations: 7.969 kB / 384.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.1353, allocations: 4 kB / 384.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.1354, allocations: 11.92 kB / 384.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.1354, allocations: 4.062 kB / 384.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.205e-05/0.1355, allocations: 118.4 kB / 384.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1355, allocations: 0 / 384.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002119/0.1357, allocations: 12 kB / 384.4 MB, free: 9.766 MB / 350.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 8.684e-05/0.1358, allocations: 91.19 kB / 384.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.1359, allocations: 47.97 kB / 384.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1359, allocations: 0 / 384.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.202e-05/0.136, allocations: 27.94 kB / 384.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.1363, allocations: 27.23 kB / 384.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005913/0.1369, allocations: 252.8 kB / 384.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.092e-05/0.137, allocations: 93.17 kB / 384.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.242e-05/0.137, allocations: 15.97 kB / 384.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.1371, allocations: 16.5 kB / 384.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1371, allocations: 0 / 384.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of Templates: time 0.00371/0.1408, allocations: 0.9471 MB / 385.9 MB, free: 8.219 MB / 350.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 -s ida -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/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_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.716099348966964]