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.002659/0.002659, allocations: 99.53 kB / 21.74 MB, free: 2.684 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.003133/0.003133, allocations: 169.7 kB / 25.03 MB, free: 8.418 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.398/1.398, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.713e-06/1.713e-06, allocations: 0 / 250.3 MB, free: 3.957 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.103e-05/3.274e-05, allocations: 2.312 kB / 250.3 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.00327/0.003302, allocations: 1.665 MB / 252 MB, free: 2.27 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.004663, allocations: 0.5152 MB / 252.5 MB, free: 1.746 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.051e-05/0.004754, allocations: 4 kB / 252.5 MB, free: 1.742 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.004869, allocations: 11.81 kB / 252.5 MB, free: 1.73 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000224/0.005093, allocations: 27.73 kB / 252.6 MB, free: 1.703 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.005304, allocations: 51.91 kB / 252.6 MB, free: 1.652 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.005498, allocations: 99.64 kB / 252.7 MB, free: 1.555 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.005609, allocations: 25.28 kB / 252.7 MB, free: 1.531 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.005751, allocations: 59.77 kB / 252.8 MB, free: 1.473 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.786e-05/0.005848, allocations: 39.88 kB / 252.8 MB, free: 1.434 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.005875, allocations: 4 kB / 252.8 MB, free: 1.43 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.129e-05/0.005896, allocations: 8 kB / 252.9 MB, free: 1.422 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.712e-05/0.005964, allocations: 19.92 kB / 252.9 MB, free: 1.402 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.35e-05/0.006017, allocations: 19.92 kB / 252.9 MB, free: 1.383 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.006194, allocations: 91.62 kB / 253 MB, free: 1.293 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.006197, allocations: 0 / 253 MB, free: 1.293 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.006198, allocations: 0 / 253 MB, free: 1.293 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.006203, allocations: 0 / 253 MB, free: 1.293 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.0007026/0.006906, allocations: 447.8 kB / 253.4 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.006945, allocations: 11.98 kB / 253.4 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.007009, allocations: 20.84 kB / 253.5 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.007253, allocations: 145 kB / 253.6 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.00727, allocations: 8.375 kB / 253.6 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.007296, allocations: 4.375 kB / 253.6 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.00748, allocations: 78.11 kB / 253.7 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.007492, allocations: 3.938 kB / 253.7 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.007508, allocations: 7.984 kB / 253.7 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.007512, allocations: 4 kB / 253.7 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.007626, allocations: 39.97 kB / 253.7 MB, free: 484 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006098/0.008236, allocations: 347.5 kB / 254.1 MB, free: 100 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.008404, allocations: 67.08 kB / 254.1 MB, free: 20 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.92e-05/0.008494, allocations: 31.72 kB / 254.2 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.008512, allocations: 0 / 254.2 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.00855, allocations: 33.39 kB / 254.2 MB, free: 15.94 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.008551, allocations: 3.938 kB / 254.2 MB, free: 15.94 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003208/0.008872, allocations: 97.62 kB / 254.3 MB, free: 15.84 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.008919, allocations: 51.41 kB / 254.4 MB, free: 15.77 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.00913, allocations: 217.8 kB / 254.6 MB, free: 15.54 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.009154, allocations: 29.7 kB / 254.6 MB, free: 15.51 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.009269, allocations: 154.8 kB / 254.7 MB, free: 15.35 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.0093, allocations: 19.94 kB / 254.8 MB, free: 15.33 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.009354, allocations: 31.36 kB / 254.8 MB, free: 15.29 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000286/0.00964, allocations: 0.4962 MB / 255.3 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.934e-05/0.009699, allocations: 16 kB / 255.3 MB, free: 14.77 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.065e-05/0.00976, allocations: 19.98 kB / 255.3 MB, free: 14.75 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.009887, allocations: 55.56 kB / 255.4 MB, free: 14.69 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.009889, allocations: 0 / 255.4 MB, free: 14.69 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001817/0.01007, allocations: 89.61 kB / 255.5 MB, free: 14.6 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.01009, allocations: 4 kB / 255.5 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01009, allocations: 0 / 255.5 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.0101, allocations: 4 kB / 255.5 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.01033, allocations: 40.16 kB / 255.5 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.01034, allocations: 0 / 255.5 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.067e-05/0.01039, allocations: 4 kB / 255.5 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.01041, allocations: 12 kB / 255.5 MB, free: 14.54 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 0.0001395/0.01055, allocations: 164.5 kB / 255.7 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.01058, allocations: 7.953 kB / 255.7 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.822e-05/0.01063, allocations: 16.45 kB / 255.7 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01063, allocations: 0 / 255.7 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.01063, allocations: 3.938 kB / 255.7 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.01064, allocations: 0 / 255.7 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.01085, allocations: 152.6 kB / 255.9 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01086, allocations: 0 / 255.9 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.011, allocations: 19.98 kB / 255.9 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.011, allocations: 8 kB / 255.9 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.01102, allocations: 7.984 kB / 255.9 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01102, allocations: 0 / 255.9 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01102, allocations: 0 / 255.9 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.01136, allocations: 251.8 kB / 256.2 MB, free: 13.85 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.311e-05/0.01139, allocations: 11.89 kB / 256.2 MB, free: 13.84 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.01141, allocations: 0 / 256.2 MB, free: 13.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.01148, allocations: 4 kB / 256.2 MB, free: 13.84 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.01154, allocations: 7.922 kB / 256.2 MB, free: 13.83 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.01155, allocations: 0 / 256.2 MB, free: 13.83 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001246/0.01167, allocations: 163.2 kB / 256.3 MB, free: 13.67 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01167, allocations: 0 / 256.3 MB, free: 13.67 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002193/0.01189, allocations: 12 kB / 256.3 MB, free: 13.66 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.0001208/0.01201, allocations: 91.25 kB / 256.4 MB, free: 13.55 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.01219, allocations: 55.61 kB / 256.5 MB, free: 13.5 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.0122, allocations: 0 / 256.5 MB, free: 13.5 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.429e-05/0.01227, allocations: 31.67 kB / 256.5 MB, free: 13.46 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.01261, allocations: 31.86 kB / 256.6 MB, free: 13.43 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006815/0.01329, allocations: 261.7 kB / 256.8 MB, free: 13.15 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.01341, allocations: 92.27 kB / 256.9 MB, free: 13.04 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.205e-05/0.01347, allocations: 7.984 kB / 256.9 MB, free: 13.03 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.01352, allocations: 16.5 kB / 256.9 MB, free: 13.02 MB / 250.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01352, allocations: 0 / 256.9 MB, free: 13.02 MB / 250.7 MB Notification: Performance of Templates: time 0.00434/0.01786, allocations: 0.967 MB / 257.9 MB, free: 12.06 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.350492552970536]