Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.000834/0.000834, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003796/0.003796, allocations: 153.4 kB / 24.7 MB, free: 8.898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8749/0.8749, allocations: 177 MB / 204.9 MB, free: 5.777 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.163e-05/3.361e-05, allocations: 3.266 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.002505/0.002539, allocations: 1.904 MB / 327.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.004038, allocations: 1.234 MB / 328.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.004146, allocations: 4 kB / 328.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.004441, allocations: 71.55 kB / 329 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.004737, allocations: 135.3 kB / 329.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004382/0.005175, allocations: 233.4 kB / 329.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.005372, allocations: 191.3 kB / 329.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.005474, allocations: 33.72 kB / 329.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.005586, allocations: 103.7 kB / 329.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.005688, allocations: 75.73 kB / 329.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.005706, allocations: 8 kB / 329.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.005826, allocations: 67.94 kB / 329.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.593e-05/0.005892, allocations: 55.78 kB / 329.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.005942, allocations: 43.84 kB / 329.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.006209, allocations: 251.2 kB / 330.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.006212, allocations: 0 / 330.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006213, allocations: 4 kB / 330.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.006217, allocations: 3.938 kB / 330.2 MB, free: 10.98 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005214/0.006738, allocations: 482.4 kB / 330.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.006772, allocations: 15.98 kB / 330.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.501e-05/0.006827, allocations: 28.75 kB / 330.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.007117, allocations: 236.7 kB / 330.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.007134, allocations: 8.312 kB / 330.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.007147, allocations: 12.38 kB / 330.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.007428, allocations: 197.3 kB / 331.1 MB, free: 9.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.007436, allocations: 4.172 kB / 331.1 MB, free: 9.926 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.007448, allocations: 4.375 kB / 331.1 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.007454, allocations: 7.938 kB / 331.1 MB, free: 9.914 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.475e-05/0.007529, allocations: 39.92 kB / 331.2 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.007897, allocations: 406.3 kB / 331.6 MB, free: 9.438 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.008066, allocations: 142.5 kB / 331.7 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.639e-05/0.008123, allocations: 51.42 kB / 331.8 MB, free: 9.199 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.008142, allocations: 7.938 kB / 331.8 MB, free: 9.191 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.008276, allocations: 101 kB / 331.9 MB, free: 9.074 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.008277, allocations: 0 / 331.9 MB, free: 9.074 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002697/0.008547, allocations: 181.6 kB / 332 MB, free: 8.891 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.008614, allocations: 162.2 kB / 332.2 MB, free: 8.695 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.008847, allocations: 340.2 kB / 332.5 MB, free: 8.355 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.008864, allocations: 29.7 kB / 332.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/0.00893, allocations: 132.4 kB / 332.7 MB, free: 8.184 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.00895, allocations: 15.84 kB / 332.7 MB, free: 8.168 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.008986, allocations: 33.7 kB / 332.7 MB, free: 8.129 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.00907, allocations: 330.8 kB / 333.1 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.205e-05/0.009112, allocations: 27.92 kB / 333.1 MB, free: 7.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.656e-05/0.009189, allocations: 123.6 kB / 333.2 MB, free: 7.621 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.492e-05/0.009274, allocations: 78.58 kB / 333.3 MB, free: 7.535 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.009276, allocations: 3.938 kB / 333.3 MB, free: 7.531 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001304/0.009406, allocations: 117.4 kB / 333.4 MB, free: 7.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.009418, allocations: 4 kB / 333.4 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.009423, allocations: 4 kB / 333.4 MB, free: 7.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.009435, allocations: 0 / 333.4 MB, free: 7.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.87e-05/0.009503, allocations: 16.3 kB / 333.4 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.009509, allocations: 4.047 kB / 333.4 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.014e-05/0.009549, allocations: 12 kB / 333.4 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.009557, allocations: 8 kB / 333.5 MB, free: 7.363 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.794e-05/0.009655, allocations: 149.8 kB / 333.6 MB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.009715, allocations: 81.39 kB / 333.7 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.009885, allocations: 123.5 kB / 333.8 MB, free: 6.984 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.009888, allocations: 0 / 333.8 MB, free: 6.984 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.009893, allocations: 7.938 kB / 333.8 MB, free: 6.977 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.009897, allocations: 3.984 kB / 333.8 MB, free: 6.973 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.01003, allocations: 181.3 kB / 334 MB, free: 6.766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01003, allocations: 4 kB / 334 MB, free: 6.762 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.01007, allocations: 15.98 kB / 334 MB, free: 6.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.01007, allocations: 3.938 kB / 334 MB, free: 6.742 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.01008, allocations: 4 kB / 334 MB, free: 6.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01009, allocations: 0 / 334 MB, free: 6.738 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.01009, allocations: 4 kB / 334 MB, free: 6.734 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.01026, allocations: 195.4 kB / 334.2 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.01031, allocations: 39.73 kB / 334.3 MB, free: 6.477 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.01034, allocations: 11.98 kB / 334.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.32e-05/0.01037, allocations: 8 kB / 334.3 MB, free: 6.457 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.01042, allocations: 11.98 kB / 334.3 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.01043, allocations: 4 kB / 334.3 MB, free: 6.441 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001529/0.01058, allocations: 255 kB / 334.5 MB, free: 6.195 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01058, allocations: 0 / 334.5 MB, free: 6.195 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000177/0.01076, allocations: 35.94 kB / 334.6 MB, free: 6.16 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007221/0.01148, allocations: 448.7 kB / 335 MB, free: 5.863 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001552/0.01164, allocations: 75.91 kB / 335.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01164, allocations: 0 / 335.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.2e-05/0.01169, allocations: 35.97 kB / 335.1 MB, free: 5.754 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.01197, allocations: 68.36 kB / 335.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.01244, allocations: 435.5 kB / 335.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.097e-05/0.01253, allocations: 140.6 kB / 335.7 MB, free: 5.062 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/0.01257, allocations: 24.5 kB / 335.8 MB, free: 5.039 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01257, allocations: 0 / 335.8 MB, free: 5.039 MB / 298.7 MB Notification: Performance of Templates: time 0.003565/0.01614, allocations: 3.1 MB / 338.9 MB, free: 1.945 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.552590471692383]