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.001546/0.001546, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.00188/0.00188, allocations: 169.9 kB / 25.33 MB, free: 9.465 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 1.04/1.04, allocations: 158.6 MB / 187.2 MB, free: 2.535 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 3.206e-06/3.206e-06, allocations: 0 / 251 MB, free: 3.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.048e-05/4.368e-05, allocations: 2.312 kB / 251 MB, free: 3.605 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002761/0.002805, allocations: 1.696 MB / 252.7 MB, free: 1.891 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.003896, allocations: 0.519 MB / 253.2 MB, free: 1.363 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.004007, allocations: 8 kB / 253.2 MB, free: 1.355 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.004148, allocations: 15.86 kB / 253.3 MB, free: 1.34 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.004419, allocations: 19.8 kB / 253.3 MB, free: 1.32 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.004677, allocations: 55.91 kB / 253.3 MB, free: 1.266 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.004866, allocations: 99.64 kB / 253.4 MB, free: 1.168 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.004992, allocations: 21.23 kB / 253.5 MB, free: 1.148 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.005128, allocations: 59.81 kB / 253.5 MB, free: 1.09 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.407e-05/0.005212, allocations: 31.89 kB / 253.5 MB, free: 1.059 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.005241, allocations: 8 kB / 253.6 MB, free: 1.051 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.754e-05/0.005258, allocations: 8 kB / 253.6 MB, free: 1.043 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.972e-05/0.005328, allocations: 19.92 kB / 253.6 MB, free: 1.023 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.005372, allocations: 31.84 kB / 253.6 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.005558, allocations: 59.75 kB / 253.7 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.005566, allocations: 3.984 kB / 253.7 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.005568, allocations: 0 / 253.7 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.005574, allocations: 0 / 253.7 MB, free: 0.9297 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.0005541/0.006128, allocations: 436.1 kB / 254.1 MB, free: 480 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.006177, allocations: 15.98 kB / 254.1 MB, free: 464 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.528e-05/0.006232, allocations: 16.84 kB / 254.1 MB, free: 448 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.006453, allocations: 152.9 kB / 254.3 MB, free: 268 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.006465, allocations: 4.375 kB / 254.3 MB, free: 264 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.006508, allocations: 8.375 kB / 254.3 MB, free: 256 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.006687, allocations: 82.91 kB / 254.4 MB, free: 164 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.006696, allocations: 3.938 kB / 254.4 MB, free: 160 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.006706, allocations: 3.938 kB / 254.4 MB, free: 156 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.006715, allocations: 4 kB / 254.4 MB, free: 152 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.092e-05/0.006756, allocations: 23.98 kB / 254.4 MB, free: 128 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005249/0.007281, allocations: 335.4 kB / 254.7 MB, free: 15.76 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.007429, allocations: 55.12 kB / 254.8 MB, free: 15.7 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.295e-05/0.007482, allocations: 15.69 kB / 254.8 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.007507, allocations: 0 / 254.8 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.007544, allocations: 41.39 kB / 254.8 MB, free: 15.62 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 2.054e-06/0.007547, allocations: 0 / 254.8 MB, free: 15.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.000264/0.00781, allocations: 73.75 kB / 254.9 MB, free: 15.55 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.007847, allocations: 59.41 kB / 255 MB, free: 15.48 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.007953, allocations: 201.8 kB / 255.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.007967, allocations: 29.7 kB / 255.2 MB, free: 15.23 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/0.008038, allocations: 151 kB / 255.4 MB, free: 15.07 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.008068, allocations: 27.78 kB / 255.4 MB, free: 15.05 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004326/0.008501, allocations: 23.38 kB / 255.4 MB, free: 15.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.008658, allocations: 0.4961 MB / 255.9 MB, free: 14.51 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.954e-05/0.008687, allocations: 4 kB / 255.9 MB, free: 14.5 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.528e-05/0.008713, allocations: 11.98 kB / 255.9 MB, free: 14.49 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.889e-05/0.008781, allocations: 27.69 kB / 255.9 MB, free: 14.46 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.008785, allocations: 0 / 255.9 MB, free: 14.46 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001082/0.008894, allocations: 77.56 kB / 256 MB, free: 14.38 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.008915, allocations: 6.969 kB / 256 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.008922, allocations: 0 / 256 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.008938, allocations: 0 / 256 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.009132, allocations: 47.91 kB / 256.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.00914, allocations: 0 / 256.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.644e-05/0.009166, allocations: 0 / 256.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.009176, allocations: 4 kB / 256.1 MB, free: 14.32 MB / 250.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 9.532e-05/0.009271, allocations: 160.6 kB / 256.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.009295, allocations: 11.89 kB / 256.2 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.009328, allocations: 16.47 kB / 256.3 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.009331, allocations: 0 / 256.3 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.009339, allocations: 3.938 kB / 256.3 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.009345, allocations: 0 / 256.3 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.009491, allocations: 148.5 kB / 256.4 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.009493, allocations: 0 / 256.4 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.094e-05/0.009584, allocations: 23.97 kB / 256.4 MB, free: 13.92 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.009588, allocations: 4 kB / 256.4 MB, free: 13.92 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.009606, allocations: 0 / 256.4 MB, free: 13.92 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.009607, allocations: 0 / 256.4 MB, free: 13.92 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.009609, allocations: 4 kB / 256.4 MB, free: 13.91 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.009837, allocations: 227.8 kB / 256.7 MB, free: 13.67 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.525e-05/0.009853, allocations: 3.953 kB / 256.7 MB, free: 13.67 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.009869, allocations: 4 kB / 256.7 MB, free: 13.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.19e-05/0.009911, allocations: 3.938 kB / 256.7 MB, free: 13.66 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.009947, allocations: 12.05 kB / 256.7 MB, free: 13.65 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.009956, allocations: 11.98 kB / 256.7 MB, free: 13.64 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.126e-05/0.01002, allocations: 143.2 kB / 256.8 MB, free: 13.5 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01002, allocations: 0 / 256.8 MB, free: 13.5 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001589/0.01018, allocations: 15.95 kB / 256.9 MB, free: 13.48 MB / 250.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 0.0001068/0.01028, allocations: 103.3 kB / 257 MB, free: 13.37 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.0104, allocations: 35.61 kB / 257 MB, free: 13.33 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.0104, allocations: 0 / 257 MB, free: 13.33 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.819e-05/0.01043, allocations: 23.62 kB / 257 MB, free: 13.3 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.01069, allocations: 19.97 kB / 257 MB, free: 13.28 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007912/0.01148, allocations: 261.5 kB / 257.3 MB, free: 13 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.898e-05/0.01153, allocations: 67.33 kB / 257.4 MB, free: 12.91 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.163e-05/0.01157, allocations: 4 kB / 257.4 MB, free: 12.91 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.01161, allocations: 8.5 kB / 257.4 MB, free: 12.9 MB / 250.7 MB Notification: Performance of SimCode: time 1.242e-06/0.01161, allocations: 4 kB / 257.4 MB, free: 12.9 MB / 250.7 MB Notification: Performance of Templates: time 0.003459/0.01507, allocations: 1 MB / 258.4 MB, free: 11.91 MB / 250.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.8327710637822747]