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.001773/0.001773, allocations: 88.48 kB / 20.95 MB, free: 472 kB / 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.001952/0.001952, allocations: 149.7 kB / 24.24 MB, free: 3.512 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.516/1.516, allocations: 173.3 MB / 200.8 MB, free: 12.73 MB / 190.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.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.683e-06/1.683e-06, allocations: 0 / 267.3 MB, free: 10.19 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.22e-05/3.388e-05, allocations: 2.312 kB / 267.3 MB, free: 10.19 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003833/0.003867, allocations: 1.881 MB / 269.2 MB, free: 8.293 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.006153, allocations: 1.032 MB / 270.2 MB, free: 7.254 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.0063, allocations: 3.938 kB / 270.2 MB, free: 7.25 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007921/0.007092, allocations: 151.4 kB / 270.4 MB, free: 7.102 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003692/0.007462, allocations: 131.4 kB / 270.5 MB, free: 6.973 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005601/0.008022, allocations: 195.3 kB / 270.7 MB, free: 6.781 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.008316, allocations: 187.5 kB / 270.9 MB, free: 6.598 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.008419, allocations: 29.72 kB / 270.9 MB, free: 6.566 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.008592, allocations: 99.72 kB / 271 MB, free: 6.469 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.008722, allocations: 63.8 kB / 271.1 MB, free: 6.406 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.008755, allocations: 12 kB / 271.1 MB, free: 6.395 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.008903, allocations: 59.89 kB / 271.1 MB, free: 6.336 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 8.714e-05/0.008991, allocations: 55.72 kB / 271.2 MB, free: 6.281 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.009062, allocations: 39.84 kB / 271.2 MB, free: 6.242 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.009425, allocations: 207.3 kB / 271.4 MB, free: 6.039 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.009428, allocations: 4 kB / 271.4 MB, free: 6.035 MB / 254.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.009429, allocations: 0 / 271.4 MB, free: 6.035 MB / 254.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.009434, allocations: 3.938 kB / 271.4 MB, free: 6.031 MB / 254.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.0009462/0.01038, allocations: 454.7 kB / 271.9 MB, free: 5.551 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.01042, allocations: 8.031 kB / 271.9 MB, free: 5.543 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.643e-05/0.01051, allocations: 24.8 kB / 271.9 MB, free: 5.52 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.01092, allocations: 220.8 kB / 272.1 MB, free: 5.277 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.01093, allocations: 4.375 kB / 272.1 MB, free: 5.273 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.01096, allocations: 12.38 kB / 272.1 MB, free: 5.262 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.01135, allocations: 151.3 kB / 272.3 MB, free: 5.09 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.01137, allocations: 3.938 kB / 272.3 MB, free: 5.086 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.01138, allocations: 0 / 272.3 MB, free: 5.086 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.01139, allocations: 0 / 272.3 MB, free: 5.086 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.01152, allocations: 55.89 kB / 272.3 MB, free: 5.031 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005694/0.01209, allocations: 382.3 kB / 272.7 MB, free: 4.617 MB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.01237, allocations: 130.5 kB / 272.8 MB, free: 4.453 MB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.01249, allocations: 51.42 kB / 272.9 MB, free: 4.391 MB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.01252, allocations: 11.98 kB / 272.9 MB, free: 4.379 MB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.0127, allocations: 93.05 kB / 273 MB, free: 4.27 MB / 254.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.0127, allocations: 0 / 273 MB, free: 4.27 MB / 254.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004339/0.01314, allocations: 165.4 kB / 273.2 MB, free: 4.102 MB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.01324, allocations: 132.5 kB / 273.3 MB, free: 3.941 MB / 254.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.01358, allocations: 269.8 kB / 273.6 MB, free: 3.668 MB / 254.1 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.01361, allocations: 29.7 kB / 273.6 MB, free: 3.633 MB / 254.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.01371, allocations: 124.3 kB / 273.7 MB, free: 3.504 MB / 254.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.01374, allocations: 15.84 kB / 273.7 MB, free: 3.488 MB / 254.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/0.01379, allocations: 34.02 kB / 273.8 MB, free: 3.449 MB / 254.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.01397, allocations: 330.8 kB / 274.1 MB, free: 3.117 MB / 254.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.562e-05/0.01403, allocations: 19.98 kB / 274.1 MB, free: 3.098 MB / 254.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.01415, allocations: 77.12 kB / 274.2 MB, free: 3.004 MB / 254.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.01429, allocations: 66.44 kB / 274.2 MB, free: 2.93 MB / 254.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01429, allocations: 0 / 274.2 MB, free: 2.93 MB / 254.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002287/0.01452, allocations: 113.5 kB / 274.3 MB, free: 2.812 MB / 254.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.01453, allocations: 4 kB / 274.4 MB, free: 2.809 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.01454, allocations: 4.406 kB / 274.4 MB, free: 2.805 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.01456, allocations: 4 kB / 274.4 MB, free: 2.801 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.191e-05/0.01464, allocations: 11.94 kB / 274.4 MB, free: 2.789 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.01465, allocations: 4 kB / 274.4 MB, free: 2.785 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.887e-05/0.01471, allocations: 11.98 kB / 274.4 MB, free: 2.773 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.01473, allocations: 4 kB / 274.4 MB, free: 2.77 MB / 254.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.0001314/0.01486, allocations: 145.7 kB / 274.5 MB, free: 2.617 MB / 254.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.01497, allocations: 69.55 kB / 274.6 MB, free: 2.543 MB / 254.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.01524, allocations: 127.5 kB / 274.7 MB, free: 2.41 MB / 254.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.01524, allocations: 0 / 274.7 MB, free: 2.41 MB / 254.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.01525, allocations: 4 kB / 274.7 MB, free: 2.406 MB / 254.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01525, allocations: 0 / 274.7 MB, free: 2.406 MB / 254.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.01545, allocations: 165.1 kB / 274.9 MB, free: 2.215 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.01546, allocations: 4 kB / 274.9 MB, free: 2.211 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.01549, allocations: 4 kB / 274.9 MB, free: 2.207 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.0155, allocations: 4 kB / 274.9 MB, free: 2.203 MB / 254.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.01551, allocations: 0 / 274.9 MB, free: 2.203 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.01551, allocations: 7.984 kB / 274.9 MB, free: 2.195 MB / 254.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.01552, allocations: 3.938 kB / 274.9 MB, free: 2.191 MB / 254.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.01584, allocations: 187.4 kB / 275.1 MB, free: 1.98 MB / 254.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.884e-05/0.01592, allocations: 31.88 kB / 275.1 MB, free: 1.949 MB / 254.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.01595, allocations: 4 kB / 275.1 MB, free: 1.945 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.01602, allocations: 4 kB / 275.1 MB, free: 1.941 MB / 254.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.01606, allocations: 7.984 kB / 275.1 MB, free: 1.934 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.01608, allocations: 8 kB / 275.2 MB, free: 1.926 MB / 254.1 MB Notification: Performance of sorting global known variables: time 0.0002223/0.0163, allocations: 197.2 kB / 275.3 MB, free: 1.734 MB / 254.1 MB Notification: Performance of sort global known variables: time 1e-07/0.0163, allocations: 4 kB / 275.3 MB, free: 1.73 MB / 254.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.01656, allocations: 31.89 kB / 275.4 MB, free: 1.699 MB / 254.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.00173/0.01829, allocations: 453.4 kB / 275.8 MB, free: 1.438 MB / 254.1 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.01854, allocations: 67.91 kB / 275.9 MB, free: 1.371 MB / 254.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01854, allocations: 0 / 275.9 MB, free: 1.371 MB / 254.1 MB Notification: Performance of simCode: created simulation system equations: time 8.911e-05/0.01863, allocations: 35.86 kB / 275.9 MB, free: 1.336 MB / 254.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.01907, allocations: 77.56 kB / 276 MB, free: 1.266 MB / 254.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006871/0.01976, allocations: 351.5 kB / 276.3 MB, free: 0.8867 MB / 254.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.0199, allocations: 127.4 kB / 276.5 MB, free: 0.7422 MB / 254.1 MB Notification: Performance of simCode: alias equations: time 7.387e-05/0.01998, allocations: 21.61 kB / 276.5 MB, free: 0.7227 MB / 254.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.02003, allocations: 24.5 kB / 276.5 MB, free: 0.6992 MB / 254.1 MB Notification: Performance of SimCode: time 4.31e-07/0.02003, allocations: 4 kB / 276.5 MB, free: 0.6953 MB / 254.1 MB Notification: Performance of Templates: time 0.007029/0.02706, allocations: 2.663 MB / 279.2 MB, free: 14.07 MB / 270.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.172066755592823]