Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.001322/0.001322, allocations: 111.1 kB / 20.44 MB, free: 1.352 MB / 14.72 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.001595/0.001595, allocations: 213.3 kB / 23.73 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.554/1.554, allocations: 230.6 MB / 257.5 MB, free: 7.812 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+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.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 47.92 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2639, allocations: 53.36 MB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.00364/0.2675, allocations: 1.903 MB / 433.5 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.2698, allocations: 1.235 MB / 434.7 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.2699, allocations: 4 kB / 434.7 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.2702, allocations: 71.59 kB / 434.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003589/0.2705, allocations: 131.4 kB / 434.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006175/0.2712, allocations: 234.3 kB / 435.1 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.2714, allocations: 191.5 kB / 435.3 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.2715, allocations: 25.72 kB / 435.3 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.2716, allocations: 75.66 kB / 435.4 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.2718, allocations: 87.59 kB / 435.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.2718, allocations: 11.94 kB / 435.5 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.272, allocations: 75.94 kB / 435.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.522e-05/0.2721, allocations: 51.83 kB / 435.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.648e-05/0.2721, allocations: 59.55 kB / 435.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003824/0.2725, allocations: 257.1 kB / 436 MB, free: 2.309 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2725, allocations: 4 kB / 436 MB, free: 2.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2725, allocations: 0 / 436 MB, free: 2.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.2725, allocations: 0 / 436 MB, free: 2.305 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007497/0.2733, allocations: 486.5 kB / 436.4 MB, free: 1.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.2733, allocations: 11.97 kB / 436.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.036e-05/0.2734, allocations: 28.75 kB / 436.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.2738, allocations: 229.5 kB / 436.7 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.2738, allocations: 8.375 kB / 436.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.2738, allocations: 16.12 kB / 436.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.2742, allocations: 191.9 kB / 436.9 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.2742, allocations: 0 / 436.9 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.2742, allocations: 8 kB / 436.9 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2742, allocations: 0 / 436.9 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.2744, allocations: 39.92 kB / 437 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/0.275, allocations: 406.3 kB / 437.4 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.2752, allocations: 150.5 kB / 437.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.2754, allocations: 55.42 kB / 437.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.2754, allocations: 3.938 kB / 437.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.2756, allocations: 101 kB / 437.7 MB, free: 416 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.2756, allocations: 0 / 437.7 MB, free: 416 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004347/0.276, allocations: 177.4 kB / 437.8 MB, free: 232 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.2761, allocations: 162.2 kB / 438 MB, free: 32 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004664/0.2766, allocations: 344.2 kB / 438.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.2766, allocations: 29.7 kB / 438.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.2768, allocations: 132.4 kB / 438.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.2768, allocations: 23.83 kB / 438.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/0.2769, allocations: 33.66 kB / 438.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.277, allocations: 334.8 kB / 438.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-05/0.2771, allocations: 31.98 kB / 438.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.2773, allocations: 146.9 kB / 439 MB, free: 14.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.2774, allocations: 109 kB / 439.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2774, allocations: 0 / 439.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002681/0.2777, allocations: 137.4 kB / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2777, allocations: 8.188 kB / 439.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2777, allocations: 4 kB / 439.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2778, allocations: 0 / 439.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.2779, allocations: 23.98 kB / 439.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.2779, allocations: 0 / 439.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.477e-05/0.278, allocations: 15.94 kB / 439.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.278, allocations: 4 kB / 439.3 MB, free: 14.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.000151/0.2781, allocations: 161.6 kB / 439.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.2782, allocations: 77.52 kB / 439.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.2785, allocations: 135.4 kB / 439.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2785, allocations: 0 / 439.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.2785, allocations: 0 / 439.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2785, allocations: 4 kB / 439.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.2787, allocations: 185.1 kB / 439.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2787, allocations: 0 / 439.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.158e-05/0.2788, allocations: 27.92 kB / 439.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2788, allocations: 0 / 439.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.2788, allocations: 4 kB / 439.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2788, allocations: 0 / 439.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2788, allocations: 8.094 kB / 439.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.2791, allocations: 187.5 kB / 440.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.466e-05/0.2792, allocations: 47.75 kB / 440.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.2793, allocations: 8 kB / 440.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.656e-05/0.2793, allocations: 0 / 440.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/0.2794, allocations: 15.97 kB / 440.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.2794, allocations: 8 kB / 440.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002571/0.2797, allocations: 251.1 kB / 440.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2797, allocations: 0 / 440.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002854/0.28, allocations: 39.92 kB / 440.5 MB, free: 13.37 MB / 350.1 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.001621/0.2816, allocations: 468.2 kB / 440.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002511/0.2818, allocations: 87.84 kB / 441 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2818, allocations: 0 / 441 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.2819, allocations: 35.97 kB / 441 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.2824, allocations: 76.39 kB / 441.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006418/0.283, allocations: 389.8 kB / 441.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.2831, allocations: 132.2 kB / 441.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.713e-05/0.2832, allocations: 29.78 kB / 441.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.2833, allocations: 23.44 kB / 441.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2833, allocations: 4 kB / 441.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of Templates: time 0.007203/0.2905, allocations: 3.258 MB / 444.9 MB, free: 9.062 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.681155141443014]