Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008507/0.0008507, allocations: 78.28 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008127/0.0008127, allocations: 150.2 kB / 24.81 MB, free: 9.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8538/0.8538, allocations: 173.3 MB / 201.4 MB, free: 9.184 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 268.4 MB, free: 6.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.358e-05/1.461e-05, allocations: 2.312 kB / 268.4 MB, free: 6.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002093/0.002107, allocations: 1.685 MB / 270.1 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006726/0.00278, allocations: 494.6 kB / 270.6 MB, free: 4 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.43e-05/0.002854, allocations: 4 kB / 270.6 MB, free: 3.996 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.684e-05/0.002941, allocations: 11.81 kB / 270.6 MB, free: 3.984 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.003096, allocations: 27.78 kB / 270.6 MB, free: 3.957 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.003268, allocations: 51.86 kB / 270.7 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.003408, allocations: 99.64 kB / 270.7 MB, free: 3.809 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.985e-05/0.003498, allocations: 25.28 kB / 270.8 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.003598, allocations: 55.83 kB / 270.8 MB, free: 3.727 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.381e-05/0.003662, allocations: 39.81 kB / 270.9 MB, free: 3.688 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.003679, allocations: 8 kB / 270.9 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.003691, allocations: 8 kB / 270.9 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.003737, allocations: 23.91 kB / 270.9 MB, free: 3.648 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.003766, allocations: 19.94 kB / 270.9 MB, free: 3.629 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.003872, allocations: 63.73 kB / 271 MB, free: 3.566 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.003876, allocations: 0 / 271 MB, free: 3.566 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.003877, allocations: 0 / 271 MB, free: 3.566 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.00388, allocations: 0 / 271 MB, free: 3.566 MB / 250.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.0004009/0.004281, allocations: 440.1 kB / 271.4 MB, free: 3.102 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.004313, allocations: 12.92 kB / 271.4 MB, free: 3.09 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.004347, allocations: 20.84 kB / 271.4 MB, free: 3.07 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.004474, allocations: 148 kB / 271.6 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.004484, allocations: 4.375 kB / 271.6 MB, free: 2.898 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.004507, allocations: 19.88 kB / 271.6 MB, free: 2.879 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.004611, allocations: 70.31 kB / 271.7 MB, free: 2.801 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.004618, allocations: 0 / 271.7 MB, free: 2.801 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.004626, allocations: 8 kB / 271.7 MB, free: 2.793 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.004631, allocations: 0 / 271.7 MB, free: 2.793 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.482e-05/0.004656, allocations: 19.36 kB / 271.7 MB, free: 2.777 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.004967, allocations: 312.1 kB / 272 MB, free: 2.445 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.029e-05/0.005047, allocations: 55.02 kB / 272.1 MB, free: 2.379 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.00507, allocations: 19.72 kB / 272.1 MB, free: 2.355 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.005085, allocations: 0 / 272.1 MB, free: 2.355 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.005111, allocations: 33.39 kB / 272.1 MB, free: 2.312 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 7.52e-07/0.005112, allocations: 0 / 272.1 MB, free: 2.312 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001428/0.005255, allocations: 61.64 kB / 272.2 MB, free: 2.246 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.005278, allocations: 63.34 kB / 272.2 MB, free: 2.172 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.634e-05/0.005354, allocations: 197.8 kB / 272.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.005363, allocations: 29.7 kB / 272.5 MB, free: 1.926 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.005416, allocations: 154.8 kB / 272.6 MB, free: 1.77 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.005437, allocations: 27.88 kB / 272.6 MB, free: 1.742 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.005468, allocations: 27.36 kB / 272.7 MB, free: 1.707 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.005589, allocations: 0.4962 MB / 273.2 MB, free: 1.199 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/0.005604, allocations: 4 kB / 273.2 MB, free: 1.195 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.223e-05/0.005617, allocations: 4 kB / 273.2 MB, free: 1.191 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.028e-05/0.005657, allocations: 27.67 kB / 273.2 MB, free: 1.16 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.005659, allocations: 0 / 273.2 MB, free: 1.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.086e-05/0.00574, allocations: 69.62 kB / 273.3 MB, free: 1.086 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.005753, allocations: 4 kB / 273.3 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.005758, allocations: 7.938 kB / 273.3 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.005771, allocations: 0 / 273.3 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.005909, allocations: 40.16 kB / 273.3 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.005912, allocations: 3.938 kB / 273.3 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.005935, allocations: 4 kB / 273.3 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.00594, allocations: 4 kB / 273.3 MB, free: 1.023 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 7.057e-05/0.006011, allocations: 156.6 kB / 273.5 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.006031, allocations: 7.953 kB / 273.5 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.006061, allocations: 24.39 kB / 273.5 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.006063, allocations: 0 / 273.5 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.006065, allocations: 0 / 273.5 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.006068, allocations: 4 kB / 273.5 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.006171, allocations: 113.2 kB / 273.6 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006172, allocations: 0 / 273.6 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.657e-05/0.006238, allocations: 19.98 kB / 273.7 MB, free: 0.668 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.00624, allocations: 0 / 273.7 MB, free: 0.668 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.006249, allocations: 3.984 kB / 273.7 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.00625, allocations: 0 / 273.7 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.006252, allocations: 11.94 kB / 273.7 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.006394, allocations: 223.8 kB / 273.9 MB, free: 424 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.418e-05/0.006408, allocations: 15.88 kB / 273.9 MB, free: 408 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.006419, allocations: 0 / 273.9 MB, free: 408 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.836e-05/0.006457, allocations: 4 kB / 273.9 MB, free: 404 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.006482, allocations: 11.92 kB / 273.9 MB, free: 392 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.006486, allocations: 3.984 kB / 273.9 MB, free: 388 kB / 250.7 MB Notification: Performance of sorting global known variables: time 4.759e-05/0.006534, allocations: 142.2 kB / 274.1 MB, free: 248 kB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006534, allocations: 0 / 274.1 MB, free: 248 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001376/0.006671, allocations: 16 kB / 274.1 MB, free: 232 kB / 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 7.946e-05/0.006751, allocations: 99.22 kB / 274.2 MB, free: 124 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.226e-05/0.006823, allocations: 35.61 kB / 274.2 MB, free: 84 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.006825, allocations: 0 / 274.2 MB, free: 84 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.067e-05/0.006845, allocations: 19.67 kB / 274.2 MB, free: 60 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.007053, allocations: 34.52 kB / 274.3 MB, free: 32 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005101/0.007563, allocations: 266.4 kB / 274.5 MB, free: 15.74 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.623e-05/0.007599, allocations: 67.33 kB / 274.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.412e-05/0.007633, allocations: 7.859 kB / 274.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.363e-05/0.007697, allocations: 78.19 kB / 274.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.007697, allocations: 0 / 274.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of Templates: time 0.002512/0.01021, allocations: 1.022 MB / 275.7 MB, free: 14.56 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.310725687071681]