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.00139/0.00139, allocations: 82.5 kB / 20.68 MB, free: 1.035 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.001403/0.001403, allocations: 167.5 kB / 23.95 MB, free: 4.172 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.474/1.474, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.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 1.653e-06/1.653e-06, allocations: 0 / 325.1 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.063e-05/3.228e-05, allocations: 3.594 kB / 325.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.004283/0.004315, allocations: 1.905 MB / 327 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002781/0.007096, allocations: 1.236 MB / 328.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.007275, allocations: 11.28 kB / 328.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003715/0.007647, allocations: 71.47 kB / 328.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005112/0.008158, allocations: 142.6 kB / 328.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008415/0.009, allocations: 221.5 kB / 328.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000367/0.009367, allocations: 193.7 kB / 328.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.009498, allocations: 26.52 kB / 328.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.009739, allocations: 108.2 kB / 329 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.009906, allocations: 73.75 kB / 329 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.009945, allocations: 9.844 kB / 329 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00023/0.01018, allocations: 68.75 kB / 329.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.0103, allocations: 59.89 kB / 329.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.991e-05/0.0104, allocations: 39.94 kB / 329.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.01097, allocations: 256.8 kB / 329.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.01097, allocations: 4.969 kB / 329.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.01097, allocations: 0.5625 kB / 329.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.01099, allocations: 4 kB / 329.5 MB, free: 13.91 MB / 302.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.001047/0.01204, allocations: 478.8 kB / 329.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.01208, allocations: 8.562 kB / 329.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.01218, allocations: 28.61 kB / 330 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005613/0.01275, allocations: 231.5 kB / 330.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.01276, allocations: 8.844 kB / 330.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.01279, allocations: 5.375 kB / 330.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004955/0.01329, allocations: 197.9 kB / 330.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.0133, allocations: 5.812 kB / 330.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.01332, allocations: 1.25 kB / 330.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.01333, allocations: 1.094 kB / 330.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.01349, allocations: 49.03 kB / 330.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000755/0.01425, allocations: 404.5 kB / 330.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/0.01462, allocations: 147.2 kB / 331 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.01475, allocations: 59.7 kB / 331.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.01478, allocations: 3.438 kB / 331.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/0.01503, allocations: 95.27 kB / 331.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 2.034e-06/0.01504, allocations: 0 / 331.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005477/0.01558, allocations: 182.8 kB / 331.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.01571, allocations: 165.7 kB / 331.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004529/0.01616, allocations: 346.9 kB / 331.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.01619, allocations: 26.8 kB / 331.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.01631, allocations: 131.1 kB / 332 MB, free: 11.83 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.01634, allocations: 23.08 kB / 332 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.496e-05/0.01641, allocations: 31.36 kB / 332 MB, free: 11.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.01659, allocations: 333.4 kB / 332.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.285e-05/0.01668, allocations: 27.7 kB / 332.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.01683, allocations: 120.4 kB / 332.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.01701, allocations: 79.34 kB / 332.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01701, allocations: 0 / 332.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002703/0.01729, allocations: 114.9 kB / 332.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.0173, allocations: 5.75 kB / 332.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.01731, allocations: 0 / 332.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.01733, allocations: 6.203 kB / 332.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.01744, allocations: 11.28 kB / 332.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.01744, allocations: 1.125 kB / 332.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.299e-05/0.01754, allocations: 11.45 kB / 332.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.01755, allocations: 3.375 kB / 332.7 MB, free: 11.18 MB / 302.1 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 0.0001976/0.01775, allocations: 157.3 kB / 332.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.01787, allocations: 73.5 kB / 333 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.01821, allocations: 132.6 kB / 333.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.01822, allocations: 1.219 kB / 333.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.01822, allocations: 2.344 kB / 333.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.01823, allocations: 1.156 kB / 333.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.01853, allocations: 186.7 kB / 333.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.01853, allocations: 5.531 kB / 333.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.489e-05/0.01862, allocations: 13.62 kB / 333.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.01862, allocations: 5.234 kB / 333.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.01864, allocations: 6.406 kB / 333.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.01865, allocations: 5.062 kB / 333.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.01865, allocations: 1.188 kB / 333.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.01901, allocations: 186.5 kB / 333.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.01912, allocations: 47.19 kB / 333.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.01915, allocations: 2.375 kB / 333.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.191e-05/0.01923, allocations: 10.12 kB / 333.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.01929, allocations: 8.484 kB / 333.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.01932, allocations: 13.14 kB / 333.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003176/0.01964, allocations: 246.5 kB / 333.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01964, allocations: 5 kB / 333.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003033/0.01994, allocations: 37.98 kB / 333.9 MB, free: 10.34 MB / 302.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.001739/0.02168, allocations: 457.6 kB / 334.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002804/0.02196, allocations: 81.02 kB / 334.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.02196, allocations: 0 / 334.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.02207, allocations: 37.48 kB / 334.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.02257, allocations: 84.05 kB / 334.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008341/0.0234, allocations: 400.2 kB / 334.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.02359, allocations: 138.5 kB / 335 MB, free: 9.625 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.765e-05/0.02368, allocations: 22.27 kB / 335 MB, free: 9.621 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.959e-05/0.02375, allocations: 29.67 kB / 335.1 MB, free: 9.605 MB / 302.1 MB Notification: Performance of SimCode: time 5.52e-07/0.02375, allocations: 0 / 335.1 MB, free: 9.605 MB / 302.1 MB Notification: Performance of Templates: time 0.008101/0.03185, allocations: 3.077 MB / 338.2 MB, free: 7.863 MB / 302.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.362579371780157]