Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001707/0.001707, allocations: 114.5 kB / 21.18 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002234/0.002234, allocations: 206.8 kB / 24.48 MB, free: 4.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.43/1.43, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.89 kB / 378.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.258, allocations: 53.32 MB / 432 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002988/0.261, allocations: 1.723 MB / 433.8 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009896/0.262, allocations: 0.561 MB / 434.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.929e-05/0.2621, allocations: 0 / 434.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.2622, allocations: 11.86 kB / 434.3 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.2623, allocations: 19.81 kB / 434.4 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.2626, allocations: 63.84 kB / 434.4 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.2627, allocations: 95.7 kB / 434.5 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2628, allocations: 25.09 kB / 434.5 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.263, allocations: 51.78 kB / 434.6 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.503e-05/0.2631, allocations: 51.7 kB / 434.6 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.2631, allocations: 4 kB / 434.6 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.358e-05/0.2631, allocations: 16 kB / 434.7 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.156e-05/0.2632, allocations: 15.92 kB / 434.7 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.052e-05/0.2633, allocations: 43.73 kB / 434.7 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.2635, allocations: 97.42 kB / 434.8 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2635, allocations: 0 / 434.8 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2635, allocations: 0 / 434.8 MB, free: 4.609 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.2635, allocations: 0 / 434.8 MB, free: 4.609 MB / 334.1 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.0006516/0.2642, allocations: 411 kB / 435.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2642, allocations: 8.031 kB / 435.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.2643, allocations: 24.83 kB / 435.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.2646, allocations: 212.7 kB / 435.5 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.2647, allocations: 8.359 kB / 435.5 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.742e-05/0.2647, allocations: 16.12 kB / 435.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.2649, allocations: 73.67 kB / 435.5 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2649, allocations: 4 kB / 435.6 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.2649, allocations: 0 / 435.6 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2649, allocations: 7.938 kB / 435.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.2651, allocations: 51.84 kB / 435.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.2657, allocations: 400.1 kB / 436 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.2658, allocations: 62.53 kB / 436.1 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.376e-05/0.2659, allocations: 28.89 kB / 436.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.2659, allocations: 0 / 436.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.2659, allocations: 34.56 kB / 436.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.2659, allocations: 0 / 436.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003098/0.2662, allocations: 101.5 kB / 436.2 MB, free: 3.016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.2663, allocations: 55.41 kB / 436.3 MB, free: 2.949 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.2664, allocations: 145 kB / 436.4 MB, free: 2.793 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.2664, allocations: 29.7 kB / 436.4 MB, free: 2.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.041e-05/0.2665, allocations: 112.2 kB / 436.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.2666, allocations: 19.8 kB / 436.6 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.2666, allocations: 25.7 kB / 436.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2668, allocations: 318.8 kB / 436.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.219e-05/0.2668, allocations: 16 kB / 436.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.594e-05/0.2669, allocations: 31.97 kB / 437 MB, free: 2.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.267, allocations: 40.84 kB / 437 MB, free: 2.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.267, allocations: 0 / 437 MB, free: 2.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000184/0.2672, allocations: 93.56 kB / 437.1 MB, free: 2.086 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.2672, allocations: 7.938 kB / 437.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2672, allocations: 0 / 437.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.2672, allocations: 4 kB / 437.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.2675, allocations: 43.91 kB / 437.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2675, allocations: 0 / 437.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.656e-05/0.2675, allocations: 7.953 kB / 437.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.2675, allocations: 0 / 437.2 MB, free: 2.023 MB / 334.1 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.0001023/0.2676, allocations: 121.8 kB / 437.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.2677, allocations: 11.89 kB / 437.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.2677, allocations: 12.31 kB / 437.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2677, allocations: 0 / 437.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2677, allocations: 0 / 437.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.2677, allocations: 93.05 kB / 437.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.2678, allocations: 0 / 437.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-05/0.2679, allocations: 0 / 437.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.2679, allocations: 11.94 kB / 437.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004015/0.2683, allocations: 177.1 kB / 437.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003409/0.2686, allocations: 294.9 kB / 437.9 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.917e-05/0.2687, allocations: 24.02 kB / 437.9 MB, free: 1.246 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.752e-05/0.2688, allocations: 107.2 kB / 438 MB, free: 1.141 MB / 334.1 MB Notification: Performance of Backend: time 4.11e-07/0.2688, allocations: 4 kB / 438 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004269/0.2692, allocations: 110.3 kB / 438.1 MB, free: 1.02 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007635/0.27, allocations: 0.7068 MB / 438.8 MB, free: 272 kB / 334.1 MB Notification: Performance of Templates: time 0.003955/0.2739, allocations: 1.106 MB / 439.9 MB, free: 15.16 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.253314130939543]