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.001147/0.001147, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 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.001899/0.001899, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.121/1.121, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.344e-06/2.344e-06, allocations: 0 / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.281e-05, allocations: 6.25 kB / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.002663/0.002696, allocations: 1.971 MB / 274.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.004344, allocations: 1.202 MB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.004473, allocations: 3.938 kB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006386/0.005112, allocations: 163.3 kB / 276.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.005429, allocations: 155.3 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.005775, allocations: 179.3 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.005993, allocations: 203.3 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.0061, allocations: 21.78 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.006223, allocations: 103.7 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.006336, allocations: 67.8 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.006359, allocations: 8 kB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.006475, allocations: 67.83 kB / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.307e-05/0.006548, allocations: 43.84 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.842e-05/0.006616, allocations: 43.84 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.006923, allocations: 171.3 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.006926, allocations: 4 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.006927, allocations: 0 / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.006933, allocations: 0 / 277.3 MB, free: 13.14 MB / 266.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.0007507/0.007683, allocations: 0.5439 MB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.007726, allocations: 8.031 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7e-05/0.007796, allocations: 28.8 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.008089, allocations: 228.3 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.008108, allocations: 12.31 kB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.008124, allocations: 8.375 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.008404, allocations: 160.2 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.008417, allocations: 3.938 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.00843, allocations: 7.984 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.008438, allocations: 0 / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.208e-05/0.00849, allocations: 23.92 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.008911, allocations: 481.9 kB / 278.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.009067, allocations: 148.4 kB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.7e-05/0.009124, allocations: 58.66 kB / 279 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.009146, allocations: 4 kB / 279 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.009278, allocations: 100.4 kB / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.009279, allocations: 0 / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002695/0.009548, allocations: 137.8 kB / 279.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.009616, allocations: 136.5 kB / 279.4 MB, free: 10.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.00984, allocations: 296.3 kB / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.009858, allocations: 29.7 kB / 279.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.528e-05/0.009954, allocations: 167.1 kB / 279.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.009981, allocations: 23.95 kB / 279.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.01002, allocations: 31.33 kB / 279.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.01018, allocations: 0.5001 MB / 280.4 MB, free: 9.723 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.886e-05/0.01021, allocations: 12 kB / 280.5 MB, free: 9.711 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.502e-05/0.01026, allocations: 68.62 kB / 280.5 MB, free: 9.621 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.742e-05/0.01033, allocations: 62.97 kB / 280.6 MB, free: 9.547 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.01033, allocations: 0 / 280.6 MB, free: 9.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001194/0.01045, allocations: 93.52 kB / 280.7 MB, free: 9.449 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.01047, allocations: 4 kB / 280.7 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01047, allocations: 0 / 280.7 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.01049, allocations: 0 / 280.7 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.655e-05/0.01056, allocations: 12 kB / 280.7 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.01056, allocations: 3.938 kB / 280.7 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.784e-05/0.0106, allocations: 15.98 kB / 280.7 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.01061, allocations: 4 kB / 280.7 MB, free: 9.41 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 8.513e-05/0.01069, allocations: 165.2 kB / 280.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.328e-05/0.01076, allocations: 77.48 kB / 280.9 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.01089, allocations: 95.39 kB / 281 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01089, allocations: 0 / 281 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.0109, allocations: 0 / 281 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.0109, allocations: 7.984 kB / 281 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.01104, allocations: 176.5 kB / 281.2 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01104, allocations: 8.062 kB / 281.2 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.337e-05/0.01107, allocations: 11.94 kB / 281.2 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.01107, allocations: 0 / 281.2 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.01108, allocations: 8.125 kB / 281.2 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01108, allocations: 0 / 281.2 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01108, allocations: 4 kB / 281.3 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.01124, allocations: 183.2 kB / 281.4 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.01128, allocations: 31.83 kB / 281.5 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.01131, allocations: 11.94 kB / 281.5 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.305e-05/0.01134, allocations: 3.984 kB / 281.5 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.01138, allocations: 8 kB / 281.5 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.0114, allocations: 11.98 kB / 281.5 MB, free: 8.527 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001238/0.01152, allocations: 209.1 kB / 281.7 MB, free: 8.324 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01152, allocations: 0 / 281.7 MB, free: 8.324 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001762/0.0117, allocations: 31.95 kB / 281.7 MB, free: 8.293 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.000877/0.01258, allocations: 399.5 kB / 282.1 MB, free: 8.039 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.01271, allocations: 59.47 kB / 282.2 MB, free: 7.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01271, allocations: 0 / 282.2 MB, free: 7.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.107e-05/0.01275, allocations: 31.61 kB / 282.2 MB, free: 7.945 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.01303, allocations: 74.14 kB / 282.3 MB, free: 7.879 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.01344, allocations: 329.1 kB / 282.6 MB, free: 7.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.57e-05/0.01348, allocations: 75.98 kB / 282.7 MB, free: 7.426 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.369e-05/0.01353, allocations: 17.48 kB / 282.7 MB, free: 7.406 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.01357, allocations: 24.48 kB / 282.7 MB, free: 7.379 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01357, allocations: 0 / 282.7 MB, free: 7.379 MB / 266.7 MB Notification: Performance of Templates: time 0.004891/0.01846, allocations: 2.695 MB / 285.4 MB, free: 4.727 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.354966680984944]