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.00131/0.00131, allocations: 72.08 kB / 21.69 MB, free: 2.852 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.001386/0.001386, allocations: 139.3 kB / 24.97 MB, free: 8.836 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.9636/0.9636, allocations: 173.4 MB / 201.5 MB, free: 9.305 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.724e-06/1.724e-06, allocations: 0 / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.037e-05, allocations: 2.312 kB / 268.1 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003241/0.003271, allocations: 1.693 MB / 269.8 MB, free: 5.008 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009758/0.004247, allocations: 486.6 kB / 270.2 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.004351, allocations: 4 kB / 270.2 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.004475, allocations: 11.86 kB / 270.2 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.004717, allocations: 31.72 kB / 270.3 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.004934, allocations: 43.94 kB / 270.3 MB, free: 4.441 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.005112, allocations: 107.6 kB / 270.4 MB, free: 4.336 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.005234, allocations: 25.3 kB / 270.4 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.005358, allocations: 63.75 kB / 270.5 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.184e-05/0.00544, allocations: 31.89 kB / 270.5 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.005466, allocations: 4 kB / 270.5 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.729e-05/0.005484, allocations: 11.94 kB / 270.6 MB, free: 4.199 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.448e-05/0.005548, allocations: 19.92 kB / 270.6 MB, free: 4.18 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.524e-05/0.005593, allocations: 23.91 kB / 270.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.005752, allocations: 55.81 kB / 270.7 MB, free: 4.102 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.005756, allocations: 8 kB / 270.7 MB, free: 4.094 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.005758, allocations: 0 / 270.7 MB, free: 4.094 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.005764, allocations: 0 / 270.7 MB, free: 4.094 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.0005118/0.006276, allocations: 436.1 kB / 271.1 MB, free: 3.633 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.006315, allocations: 8.922 kB / 271.1 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.006366, allocations: 24.78 kB / 271.1 MB, free: 3.602 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.006548, allocations: 141 kB / 271.3 MB, free: 3.438 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.00656, allocations: 8.375 kB / 271.3 MB, free: 3.43 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.006588, allocations: 15.89 kB / 271.3 MB, free: 3.414 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.006738, allocations: 89.47 kB / 271.4 MB, free: 3.32 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-06/0.006746, allocations: 0 / 271.4 MB, free: 3.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.006757, allocations: 7.984 kB / 271.4 MB, free: 3.312 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.006767, allocations: 0 / 271.4 MB, free: 3.312 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.791e-05/0.006815, allocations: 19.98 kB / 271.4 MB, free: 3.293 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.007227, allocations: 335.5 kB / 271.7 MB, free: 2.93 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.00733, allocations: 51.12 kB / 271.8 MB, free: 2.867 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/0.007364, allocations: 23.69 kB / 271.8 MB, free: 2.84 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.007377, allocations: 0 / 271.8 MB, free: 2.84 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.007399, allocations: 37.39 kB / 271.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 7.82e-07/0.0074, allocations: 0 / 271.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001722/0.007572, allocations: 73.52 kB / 271.9 MB, free: 2.715 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.00761, allocations: 59.39 kB / 272 MB, free: 2.645 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.00774, allocations: 196.9 kB / 272.2 MB, free: 2.438 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.007752, allocations: 25.7 kB / 272.2 MB, free: 2.406 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.007816, allocations: 154.8 kB / 272.3 MB, free: 2.25 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.007841, allocations: 27.92 kB / 272.4 MB, free: 2.223 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.007878, allocations: 23.38 kB / 272.4 MB, free: 2.191 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.007996, allocations: 0.4962 MB / 272.9 MB, free: 1.684 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.242e-05/0.008018, allocations: 4 kB / 272.9 MB, free: 1.68 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.065e-05/0.008039, allocations: 15.98 kB / 272.9 MB, free: 1.664 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.948e-05/0.008088, allocations: 27.62 kB / 272.9 MB, free: 1.633 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.00809, allocations: 0 / 272.9 MB, free: 1.633 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.609e-05/0.008176, allocations: 69.64 kB / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.008189, allocations: 7.938 kB / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.008194, allocations: 256 / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.008207, allocations: 0 / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.008364, allocations: 39.97 kB / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.008369, allocations: 8 kB / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.367e-05/0.008393, allocations: 0 / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.0084, allocations: 0 / 273 MB, free: 1.504 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 6.699e-05/0.008466, allocations: 168.5 kB / 273.2 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.008486, allocations: 15.88 kB / 273.2 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.292e-05/0.008509, allocations: 12.47 kB / 273.2 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.008511, allocations: 0 / 273.2 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.008514, allocations: 0 / 273.2 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.008517, allocations: 0 / 273.2 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.00864, allocations: 144.6 kB / 273.4 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.008641, allocations: 4 kB / 273.4 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.84e-05/0.008719, allocations: 23.97 kB / 273.4 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.008722, allocations: 0 / 273.4 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.00874, allocations: 11.94 kB / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.008741, allocations: 0 / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008742, allocations: 0 / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.00891, allocations: 227.8 kB / 273.6 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.008923, allocations: 7.891 kB / 273.6 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.00894, allocations: 11.94 kB / 273.7 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.971e-05/0.00898, allocations: 0 / 273.7 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.00901, allocations: 3.984 kB / 273.7 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.009015, allocations: 8.031 kB / 273.7 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.114e-05/0.009076, allocations: 146.2 kB / 273.8 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009076, allocations: 0 / 273.8 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001617/0.009238, allocations: 16 kB / 273.8 MB, free: 0.6562 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 9.361e-05/0.009331, allocations: 95.23 kB / 273.9 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.009441, allocations: 31.67 kB / 274 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.009443, allocations: 3.938 kB / 274 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.632e-05/0.009479, allocations: 19.69 kB / 274 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.00974, allocations: 38.28 kB / 274 MB, free: 472 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006467/0.01039, allocations: 262.3 kB / 274.3 MB, free: 180 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.177e-05/0.01043, allocations: 67.33 kB / 274.3 MB, free: 92 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.06e-05/0.01047, allocations: 7.859 kB / 274.3 MB, free: 84 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.0105, allocations: 12.5 kB / 274.4 MB, free: 72 kB / 250.7 MB Notification: Performance of SimCode: time 9.42e-07/0.0105, allocations: 4 kB / 274.4 MB, free: 68 kB / 250.7 MB Notification: Performance of Templates: time 0.006861/0.01736, allocations: 0.9709 MB / 275.3 MB, free: 15.11 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.7186598770786077]