Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001506/0.001506, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001692/0.001692, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.46/1.46, allocations: 177.1 MB / 204.3 MB, free: 9.191 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.BooleanSignals.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.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 325.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.139e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003609/0.003641, allocations: 1.911 MB / 327 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.005961, allocations: 1.17 MB / 328.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.006112, allocations: 6.688 kB / 328.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007914/0.006903, allocations: 151.3 kB / 328.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00049/0.007393, allocations: 163.7 kB / 328.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006303/0.008023, allocations: 174.7 kB / 328.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003143/0.008338, allocations: 203.9 kB / 328.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.008461, allocations: 21.86 kB / 328.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.008647, allocations: 105 kB / 329 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.008784, allocations: 71.05 kB / 329 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.008814, allocations: 10.12 kB / 329 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.008982, allocations: 60.58 kB / 329.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.591e-05/0.009078, allocations: 49.41 kB / 329.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.506e-05/0.009173, allocations: 39.02 kB / 329.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004145/0.009587, allocations: 223.1 kB / 329.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.009592, allocations: 5.125 kB / 329.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.009595, allocations: 4.547 kB / 329.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.009601, allocations: 0 / 329.4 MB, free: 13.95 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.0008144/0.01042, allocations: 453.5 kB / 329.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.01045, allocations: 9.5 kB / 329.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.541e-05/0.01053, allocations: 22.98 kB / 329.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.0109, allocations: 206.8 kB / 330.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.01093, allocations: 11.67 kB / 330.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.01095, allocations: 9.109 kB / 330.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/0.01134, allocations: 159.7 kB / 330.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.01136, allocations: 5.812 kB / 330.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.01137, allocations: 0.6562 kB / 330.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.01138, allocations: 2.062 kB / 330.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.01152, allocations: 41.83 kB / 330.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006059/0.01212, allocations: 380.6 kB / 330.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.0124, allocations: 137.2 kB / 330.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.01251, allocations: 53.69 kB / 330.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.01254, allocations: 11.58 kB / 330.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.01276, allocations: 93.47 kB / 331 MB, free: 12.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.01276, allocations: 0 / 331 MB, free: 12.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004532/0.01321, allocations: 174.8 kB / 331.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.01334, allocations: 136.2 kB / 331.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/0.0137, allocations: 279.8 kB / 331.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.01373, allocations: 26.8 kB / 331.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.01384, allocations: 120.5 kB / 331.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.01387, allocations: 15.31 kB / 331.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.01393, allocations: 34.75 kB / 331.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.0141, allocations: 327.5 kB / 332.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.388e-05/0.01417, allocations: 22.95 kB / 332.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.01428, allocations: 82.12 kB / 332.2 MB, free: 11.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.01442, allocations: 62.88 kB / 332.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01442, allocations: 0 / 332.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002262/0.01465, allocations: 110.9 kB / 332.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.01466, allocations: 5.719 kB / 332.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.01467, allocations: 1.094 kB / 332.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.01469, allocations: 1.125 kB / 332.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.946e-05/0.01478, allocations: 12.97 kB / 332.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.01479, allocations: 5.078 kB / 332.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.899e-05/0.01486, allocations: 8.312 kB / 332.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.01487, allocations: 2.094 kB / 332.4 MB, free: 11.43 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.0001493/0.01501, allocations: 142.3 kB / 332.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.01513, allocations: 75.02 kB / 332.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.0154, allocations: 114.7 kB / 332.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.01541, allocations: 3.281 kB / 332.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.01541, allocations: 1.25 kB / 332.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.01542, allocations: 9.188 kB / 332.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.01564, allocations: 172.3 kB / 332.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01564, allocations: 1.062 kB / 332.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.01568, allocations: 10.02 kB / 332.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01568, allocations: 1.094 kB / 332.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.0157, allocations: 6.438 kB / 332.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.0157, allocations: 2.188 kB / 332.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.0157, allocations: 5.156 kB / 332.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.016, allocations: 185.4 kB / 333.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-05/0.01607, allocations: 30.83 kB / 333.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.01611, allocations: 15.12 kB / 333.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.01618, allocations: 7.172 kB / 333.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.01622, allocations: 7.219 kB / 333.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.01624, allocations: 9.359 kB / 333.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002223/0.01647, allocations: 203.6 kB / 333.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01647, allocations: 0 / 333.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.01673, allocations: 27.12 kB / 333.4 MB, free: 10.66 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.001673/0.01841, allocations: 464.9 kB / 333.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.01863, allocations: 70 kB / 333.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01863, allocations: 0 / 333.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.438e-05/0.01872, allocations: 30.95 kB / 333.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.01916, allocations: 66.33 kB / 334 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006307/0.01979, allocations: 342 kB / 334.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.01995, allocations: 127.7 kB / 334.4 MB, free: 9.988 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.605e-05/0.02002, allocations: 18.61 kB / 334.5 MB, free: 9.984 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.02007, allocations: 19.72 kB / 334.5 MB, free: 9.977 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.02007, allocations: 0 / 334.5 MB, free: 9.977 MB / 302.1 MB Notification: Performance of Templates: time 0.007475/0.02754, allocations: 2.689 MB / 337.2 MB, free: 8.613 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.394663609564304]