Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001172/0.001172, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 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.001161/0.001161, allocations: 149 kB / 24.81 MB, free: 9.27 MB / 18.57 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.071/1.071, allocations: 173.3 MB / 201.4 MB, free: 9.234 MB / 186.7 MB " [Timeout remaining time 179] 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.BooleanSignals.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.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 268.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.607e-05, allocations: 2.312 kB / 268.4 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.006443/0.006469, allocations: 1.928 MB / 270.3 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.008341, allocations: 1.044 MB / 271.4 MB, free: 3.223 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.008521, allocations: 11.94 kB / 271.4 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006564/0.009177, allocations: 155.4 kB / 271.5 MB, free: 3.059 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.009501, allocations: 123.4 kB / 271.7 MB, free: 2.938 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000603/0.0101, allocations: 203.2 kB / 271.9 MB, free: 2.738 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.01039, allocations: 187.5 kB / 272 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.01051, allocations: 25.73 kB / 272.1 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.0107, allocations: 103.7 kB / 272.2 MB, free: 2.426 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.01083, allocations: 67.8 kB / 272.2 MB, free: 2.359 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.01085, allocations: 8 kB / 272.2 MB, free: 2.352 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.01101, allocations: 63.95 kB / 272.3 MB, free: 2.289 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.371e-05/0.01108, allocations: 47.83 kB / 272.4 MB, free: 2.242 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.685e-05/0.01114, allocations: 39.84 kB / 272.4 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.01144, allocations: 163.3 kB / 272.6 MB, free: 2.043 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.01144, allocations: 0 / 272.6 MB, free: 2.043 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.01145, allocations: 4 kB / 272.6 MB, free: 2.039 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.01145, allocations: 0 / 272.6 MB, free: 2.039 MB / 250.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.0006253/0.01208, allocations: 0.5439 MB / 273.1 MB, free: 1.453 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.01212, allocations: 12.03 kB / 273.1 MB, free: 1.441 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.812e-05/0.01218, allocations: 28.8 kB / 273.1 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.01247, allocations: 212.4 kB / 273.3 MB, free: 1.176 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.01249, allocations: 12.3 kB / 273.4 MB, free: 1.164 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.01251, allocations: 8.375 kB / 273.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.01278, allocations: 144.2 kB / 273.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.01279, allocations: 7.938 kB / 273.5 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.0128, allocations: 0 / 273.5 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.01281, allocations: 0 / 273.5 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.484e-05/0.01286, allocations: 23.91 kB / 273.5 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.01332, allocations: 450.6 kB / 274 MB, free: 484 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.0135, allocations: 140.5 kB / 274.1 MB, free: 292 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.247e-05/0.01356, allocations: 54.67 kB / 274.2 MB, free: 220 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.01358, allocations: 3.984 kB / 274.2 MB, free: 216 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.01373, allocations: 92.34 kB / 274.3 MB, free: 100 kB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/0.01374, allocations: 4 kB / 274.3 MB, free: 96 kB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.000308/0.01404, allocations: 129.7 kB / 274.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.01411, allocations: 136.5 kB / 274.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.01436, allocations: 280.2 kB / 274.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.01438, allocations: 25.7 kB / 274.8 MB, free: 15.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.01449, allocations: 171.1 kB / 275 MB, free: 15.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.01453, allocations: 27.77 kB / 275 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/0.01459, allocations: 31.36 kB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.01476, allocations: 0.5039 MB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.98e-05/0.01479, allocations: 7.984 kB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-05/0.01486, allocations: 72.42 kB / 275.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.571e-05/0.01494, allocations: 55.31 kB / 275.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.01494, allocations: 4 kB / 275.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001514/0.01509, allocations: 85.42 kB / 275.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.01511, allocations: 8 kB / 275.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01512, allocations: 0 / 275.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.01513, allocations: 0 / 275.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.073e-05/0.01522, allocations: 19.98 kB / 275.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.299e-06/0.01522, allocations: 0 / 275.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.286e-05/0.01528, allocations: 8.062 kB / 275.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.01529, allocations: 0 / 275.8 MB, free: 14.42 MB / 266.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 0.0001241/0.01541, allocations: 176.5 kB / 276 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-05/0.01551, allocations: 65.5 kB / 276 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.01569, allocations: 91.38 kB / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.01569, allocations: 4 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.01569, allocations: 0 / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.0157, allocations: 4 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.01588, allocations: 145.1 kB / 276.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.01589, allocations: 8.062 kB / 276.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/0.01593, allocations: 4 kB / 276.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.01593, allocations: 7.938 kB / 276.3 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.01594, allocations: 4 kB / 276.3 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.01595, allocations: 4 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.01595, allocations: 0 / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.01615, allocations: 159.3 kB / 276.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.152e-05/0.01622, allocations: 31.86 kB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.01625, allocations: 7.938 kB / 276.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.778e-05/0.01632, allocations: 8 kB / 276.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.01636, allocations: 11.98 kB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.01638, allocations: 8.062 kB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001489/0.01653, allocations: 193.1 kB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01653, allocations: 0 / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003944/0.01692, allocations: 39.83 kB / 276.8 MB, free: 13.38 MB / 266.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.001211/0.01813, allocations: 395.7 kB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.0183, allocations: 55.58 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.0183, allocations: 0 / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.091e-05/0.01835, allocations: 19.69 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.01875, allocations: 72.86 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006668/0.01941, allocations: 325.1 kB / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.844e-05/0.01949, allocations: 75.98 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.181e-05/0.01958, allocations: 21.62 kB / 277.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.01973, allocations: 106.2 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01974, allocations: 3.938 kB / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of Templates: time 0.007466/0.0272, allocations: 2.908 MB / 280.7 MB, free: 9.547 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8944674939848483]