Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.001683/0.001683, allocations: 108.8 kB / 21.18 MB, free: 0.7578 MB / 14.72 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.001948/0.001948, allocations: 189.2 kB / 24.47 MB, free: 4.16 MB / 14.72 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 1.489/1.489, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 51.92 kB / 371.7 MB, free: 9.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2541, allocations: 52.17 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003603/0.2577, allocations: 1.937 MB / 425.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.2598, allocations: 1.188 MB / 427 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.2599, allocations: 3.938 kB / 427 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.2602, allocations: 67.67 kB / 427.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.2605, allocations: 91.59 kB / 427.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00079/0.2612, allocations: 264.3 kB / 427.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.2615, allocations: 179.5 kB / 427.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.2616, allocations: 25.73 kB / 427.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.2618, allocations: 83.69 kB / 427.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.2619, allocations: 87.61 kB / 427.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.2619, allocations: 8 kB / 427.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.2621, allocations: 71.94 kB / 427.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.747e-05/0.2622, allocations: 55.77 kB / 427.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.612e-05/0.2623, allocations: 79.47 kB / 428 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003783/0.2627, allocations: 248.2 kB / 428.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2627, allocations: 0 / 428.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2627, allocations: 0 / 428.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.2627, allocations: 0 / 428.2 MB, free: 10.32 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.0007917/0.2635, allocations: 482.5 kB / 428.7 MB, free: 9.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.2635, allocations: 12.03 kB / 428.7 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.944e-05/0.2636, allocations: 24.75 kB / 428.7 MB, free: 9.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.264, allocations: 233.5 kB / 429 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.264, allocations: 8.375 kB / 429 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.264, allocations: 8.125 kB / 429 MB, free: 9.512 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.2644, allocations: 175.6 kB / 429.2 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2644, allocations: 3.984 kB / 429.2 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.2644, allocations: 7.938 kB / 429.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2644, allocations: 0 / 429.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.2645, allocations: 47.91 kB / 429.2 MB, free: 9.254 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006367/0.2652, allocations: 441.6 kB / 429.6 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.2655, allocations: 142.5 kB / 429.8 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.2656, allocations: 51.42 kB / 429.8 MB, free: 8.531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.2656, allocations: 8.078 kB / 429.8 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.2658, allocations: 101 kB / 429.9 MB, free: 8.406 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/0.2658, allocations: 0 / 429.9 MB, free: 8.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004338/0.2662, allocations: 169.8 kB / 430.1 MB, free: 8.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.2664, allocations: 195.9 kB / 430.3 MB, free: 8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.2668, allocations: 329.8 kB / 430.6 MB, free: 7.672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.2668, allocations: 25.7 kB / 430.6 MB, free: 7.641 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.2669, allocations: 128.4 kB / 430.8 MB, free: 7.508 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.2669, allocations: 19.89 kB / 430.8 MB, free: 7.488 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-05/0.267, allocations: 41.66 kB / 430.8 MB, free: 7.441 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.2672, allocations: 334.8 kB / 431.2 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.357e-05/0.2672, allocations: 23.98 kB / 431.2 MB, free: 7.082 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.2674, allocations: 99.7 kB / 431.3 MB, free: 6.957 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.2675, allocations: 101 kB / 431.4 MB, free: 6.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2675, allocations: 0 / 431.4 MB, free: 6.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002548/0.2678, allocations: 133.4 kB / 431.5 MB, free: 6.703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.2678, allocations: 4.156 kB / 431.5 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2678, allocations: 11.94 kB / 431.5 MB, free: 6.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.2678, allocations: 0 / 431.5 MB, free: 6.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.268, allocations: 27.98 kB / 431.5 MB, free: 6.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.268, allocations: 3.938 kB / 431.6 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.466e-05/0.2681, allocations: 15.86 kB / 431.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.2681, allocations: 4 kB / 431.6 MB, free: 6.637 MB / 334.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.0001469/0.2682, allocations: 153.8 kB / 431.7 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.2683, allocations: 73.48 kB / 431.8 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.2686, allocations: 119.4 kB / 431.9 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2686, allocations: 0 / 431.9 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2686, allocations: 4.375 kB / 431.9 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.2686, allocations: 7.922 kB / 431.9 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.2689, allocations: 208.6 kB / 432.1 MB, free: 6.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.2689, allocations: 8 kB / 432.1 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.584e-05/0.269, allocations: 23.92 kB / 432.2 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.269, allocations: 0 / 432.2 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.269, allocations: 4.062 kB / 432.2 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.269, allocations: 4 kB / 432.2 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.269, allocations: 3.938 kB / 432.2 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.2693, allocations: 187.3 kB / 432.4 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.2694, allocations: 47.75 kB / 432.4 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.2694, allocations: 8 kB / 432.4 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.2695, allocations: 0 / 432.4 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.2695, allocations: 19.92 kB / 432.4 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.2696, allocations: 7.984 kB / 432.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002533/0.2698, allocations: 241.2 kB / 432.7 MB, free: 5.441 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2698, allocations: 0 / 432.7 MB, free: 5.441 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.2701, allocations: 35.94 kB / 432.7 MB, free: 5.406 MB / 334.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 (11): * Single equations (assignments): 9 * 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.00153/0.2716, allocations: 424.6 kB / 433.1 MB, free: 5.148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.2719, allocations: 91.77 kB / 433.2 MB, free: 5.059 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2719, allocations: 0 / 433.2 MB, free: 5.059 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.769e-05/0.272, allocations: 27.98 kB / 433.2 MB, free: 5.031 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.2724, allocations: 67.73 kB / 433.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007077/0.2731, allocations: 415.9 kB / 433.7 MB, free: 4.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.2735, allocations: 0.7437 MB / 434.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.2736, allocations: 27.42 kB / 434.5 MB, free: 3.723 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2736, allocations: 0 / 434.5 MB, free: 3.723 MB / 334.1 MB Notification: Performance of Templates: time 0.005615/0.2792, allocations: 2.999 MB / 437.5 MB, free: 0.7305 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.4636587467975914]