Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009069/0.0009069, allocations: 71.77 kB / 22.45 MB, free: 2.09 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.0008807/0.0008807, allocations: 166.9 kB / 25.75 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.885/0.885, allocations: 158.6 MB / 187.5 MB, free: 2.945 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 7.938 kB / 251.1 MB, free: 7.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.506e-05, allocations: 6.25 kB / 251.1 MB, free: 7.812 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002213/0.002238, allocations: 1.694 MB / 252.8 MB, free: 6.102 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008098/0.003048, allocations: 0.523 MB / 253.3 MB, free: 5.57 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.552e-05/0.003133, allocations: 0 / 253.3 MB, free: 5.57 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.003236, allocations: 7.875 kB / 253.3 MB, free: 5.562 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.003429, allocations: 19.8 kB / 253.3 MB, free: 5.543 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.00362, allocations: 55.86 kB / 253.4 MB, free: 5.488 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.00377, allocations: 99.69 kB / 253.5 MB, free: 5.391 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.00387, allocations: 25.23 kB / 253.5 MB, free: 5.367 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.003974, allocations: 63.75 kB / 253.6 MB, free: 5.305 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.099e-05/0.004045, allocations: 35.89 kB / 253.6 MB, free: 5.27 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.00407, allocations: 8 kB / 253.6 MB, free: 5.262 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.385e-05/0.004084, allocations: 4 kB / 253.6 MB, free: 5.258 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.004136, allocations: 15.92 kB / 253.6 MB, free: 5.242 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.004176, allocations: 31.91 kB / 253.7 MB, free: 5.211 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.004302, allocations: 59.73 kB / 253.7 MB, free: 5.152 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.004306, allocations: 4 kB / 253.7 MB, free: 5.148 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.004307, allocations: 0 / 253.7 MB, free: 5.148 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.004312, allocations: 4 kB / 253.7 MB, free: 5.145 MB / 234.7 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.0004724/0.004784, allocations: 436.1 kB / 254.2 MB, free: 4.684 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.004822, allocations: 11.98 kB / 254.2 MB, free: 4.672 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.004874, allocations: 20.84 kB / 254.2 MB, free: 4.652 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.005077, allocations: 148.9 kB / 254.3 MB, free: 4.48 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.005089, allocations: 4.375 kB / 254.3 MB, free: 4.477 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.00512, allocations: 8.375 kB / 254.4 MB, free: 4.469 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.005283, allocations: 78.88 kB / 254.4 MB, free: 4.383 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.005293, allocations: 7.938 kB / 254.4 MB, free: 4.375 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.005303, allocations: 0 / 254.4 MB, free: 4.375 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.005313, allocations: 4 kB / 254.4 MB, free: 4.371 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.384e-05/0.005367, allocations: 23.64 kB / 254.5 MB, free: 4.352 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.005826, allocations: 343.4 kB / 254.8 MB, free: 3.98 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.005933, allocations: 47.08 kB / 254.8 MB, free: 3.922 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.067e-05/0.005963, allocations: 15.73 kB / 254.9 MB, free: 3.902 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.005981, allocations: 11.98 kB / 254.9 MB, free: 3.891 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.006003, allocations: 37.39 kB / 254.9 MB, free: 3.844 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.006005, allocations: 3.938 kB / 254.9 MB, free: 3.84 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001896/0.006195, allocations: 77.58 kB / 255 MB, free: 3.758 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.006227, allocations: 51.41 kB / 255 MB, free: 3.695 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.006338, allocations: 205.8 kB / 255.2 MB, free: 3.477 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.00635, allocations: 25.7 kB / 255.3 MB, free: 3.445 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.65e-05/0.006417, allocations: 155 kB / 255.4 MB, free: 3.289 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.006441, allocations: 19.8 kB / 255.4 MB, free: 3.27 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.006475, allocations: 27.36 kB / 255.5 MB, free: 3.234 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.006604, allocations: 0.4884 MB / 256 MB, free: 2.734 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.055e-05/0.006634, allocations: 15.98 kB / 256 MB, free: 2.719 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.842e-05/0.006653, allocations: 4 kB / 256 MB, free: 2.715 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.73e-05/0.00671, allocations: 35.62 kB / 256 MB, free: 2.676 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006712, allocations: 0 / 256 MB, free: 2.676 MB / 234.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.793e-05/0.00681, allocations: 69.62 kB / 256.1 MB, free: 2.602 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.006826, allocations: 4 kB / 256.1 MB, free: 2.598 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.006831, allocations: 4 kB / 256.1 MB, free: 2.594 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.006846, allocations: 3.984 kB / 256.1 MB, free: 2.59 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.007017, allocations: 35.92 kB / 256.1 MB, free: 2.555 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.007025, allocations: 3.984 kB / 256.1 MB, free: 2.551 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.534e-05/0.00705, allocations: 4 kB / 256.1 MB, free: 2.547 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.007059, allocations: 4 kB / 256.1 MB, free: 2.543 MB / 234.7 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 8.292e-05/0.007142, allocations: 160.5 kB / 256.3 MB, free: 2.375 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.007168, allocations: 15.91 kB / 256.3 MB, free: 2.359 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.007198, allocations: 8.469 kB / 256.3 MB, free: 2.352 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.0072, allocations: 0 / 256.3 MB, free: 2.352 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.007208, allocations: 7.938 kB / 256.3 MB, free: 2.344 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.007213, allocations: 3.984 kB / 256.3 MB, free: 2.34 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.007358, allocations: 144.5 kB / 256.5 MB, free: 2.164 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.00736, allocations: 0 / 256.5 MB, free: 2.164 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.892e-05/0.007449, allocations: 23.98 kB / 256.5 MB, free: 2.141 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.007452, allocations: 0 / 256.5 MB, free: 2.141 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.00747, allocations: 0 / 256.5 MB, free: 2.141 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.007471, allocations: 0 / 256.5 MB, free: 2.141 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.007472, allocations: 0 / 256.5 MB, free: 2.141 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.007696, allocations: 235.7 kB / 256.7 MB, free: 1.891 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.007716, allocations: 7.953 kB / 256.7 MB, free: 1.883 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.007735, allocations: 4.25 kB / 256.7 MB, free: 1.879 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.626e-05/0.007781, allocations: 0 / 256.7 MB, free: 1.879 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.007836, allocations: 15.92 kB / 256.7 MB, free: 1.863 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.007843, allocations: 4 kB / 256.8 MB, free: 1.859 MB / 234.7 MB Notification: Performance of sorting global known variables: time 8.919e-05/0.007932, allocations: 151.2 kB / 256.9 MB, free: 1.711 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007932, allocations: 0 / 256.9 MB, free: 1.711 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001675/0.0081, allocations: 15.95 kB / 256.9 MB, free: 1.695 MB / 234.7 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 9.276e-05/0.008193, allocations: 95.25 kB / 257 MB, free: 1.586 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 9.92e-05/0.008292, allocations: 35.67 kB / 257 MB, free: 1.547 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.008293, allocations: 0 / 257 MB, free: 1.547 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.7e-05/0.00832, allocations: 23.61 kB / 257.1 MB, free: 1.52 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.008552, allocations: 19.98 kB / 257.1 MB, free: 1.5 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006974/0.009249, allocations: 261.5 kB / 257.3 MB, free: 1.219 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.06e-05/0.00929, allocations: 63.34 kB / 257.4 MB, free: 1.137 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.747e-05/0.009327, allocations: 11.84 kB / 257.4 MB, free: 1.125 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.5e-05/0.009362, allocations: 12.5 kB / 257.4 MB, free: 1.113 MB / 234.7 MB Notification: Performance of SimCode: time 8.12e-07/0.009363, allocations: 0 / 257.4 MB, free: 1.113 MB / 234.7 MB Notification: Performance of Templates: time 0.002714/0.01208, allocations: 0.9699 MB / 258.4 MB, free: 156 kB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/InverseModel/InverseModel.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: 2.4790854121092707]