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.001591/0.001591, allocations: 81.27 kB / 20.68 MB, free: 1.027 MB / 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.001481/0.001481, allocations: 146 kB / 23.94 MB, free: 4.156 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.448/1.448, allocations: 173.3 MB / 200.4 MB, free: 12.86 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.323e-06/1.323e-06, allocations: 0 / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.386e-05, allocations: 2.281 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.002763/0.002787, allocations: 1.879 MB / 320.8 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.004367, allocations: 1.017 MB / 321.8 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.004477, allocations: 6.094 kB / 321.8 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005954/0.005072, allocations: 163.8 kB / 322 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.005378, allocations: 115.5 kB / 322.1 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.005882, allocations: 205.1 kB / 322.3 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.006114, allocations: 193.6 kB / 322.5 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.006217, allocations: 29.75 kB / 322.5 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.006362, allocations: 107.3 kB / 322.6 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.006478, allocations: 66.27 kB / 322.7 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.006506, allocations: 9.656 kB / 322.7 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.006637, allocations: 56.14 kB / 322.7 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.96e-05/0.006716, allocations: 45.47 kB / 322.8 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.231e-05/0.006779, allocations: 41.3 kB / 322.8 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.007083, allocations: 220.2 kB / 323 MB, free: 1.086 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.007086, allocations: 0 / 323 MB, free: 1.086 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007087, allocations: 4 kB / 323.1 MB, free: 1.082 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.007092, allocations: 0 / 323.1 MB, free: 1.082 MB / 286.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.0006044/0.007697, allocations: 452 kB / 323.5 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.007732, allocations: 9.812 kB / 323.5 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.007784, allocations: 23.08 kB / 323.5 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.008072, allocations: 204.2 kB / 323.7 MB, free: 500 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.008085, allocations: 7.469 kB / 323.7 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.008105, allocations: 5.812 kB / 323.7 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.008399, allocations: 163 kB / 323.9 MB, free: 376 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.008412, allocations: 5.719 kB / 323.9 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.008425, allocations: 4.609 kB / 323.9 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.00843, allocations: 5.719 kB / 323.9 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.008538, allocations: 43.52 kB / 324 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.008961, allocations: 374.9 kB / 324.3 MB, free: 4 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.009245, allocations: 136.7 kB / 324.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.00936, allocations: 54.47 kB / 324.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.009381, allocations: 7.438 kB / 324.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.009558, allocations: 92.91 kB / 324.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.00956, allocations: 0 / 324.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004303/0.00999, allocations: 163.5 kB / 324.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.01009, allocations: 141.4 kB / 324.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.01038, allocations: 263.5 kB / 325.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.01042, allocations: 31.36 kB / 325.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.01053, allocations: 119.5 kB / 325.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.01056, allocations: 28.52 kB / 325.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.01062, allocations: 27.03 kB / 325.4 MB, free: 15.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.01079, allocations: 328.3 kB / 325.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.766e-05/0.01086, allocations: 21.94 kB / 325.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.01096, allocations: 74.05 kB / 325.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.0111, allocations: 71.19 kB / 325.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.0111, allocations: 0 / 325.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002157/0.01132, allocations: 110.1 kB / 326 MB, free: 14.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.01133, allocations: 4.938 kB / 326 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01134, allocations: 1.281 kB / 326 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.01136, allocations: 5.469 kB / 326 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.104e-05/0.01144, allocations: 11.44 kB / 326 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.01144, allocations: 1.875 kB / 326 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.66e-05/0.01151, allocations: 9.078 kB / 326 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.01152, allocations: 10.2 kB / 326 MB, free: 14.64 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.0001451/0.01167, allocations: 149.9 kB / 326.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.861e-05/0.01177, allocations: 66.23 kB / 326.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.01203, allocations: 115.8 kB / 326.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.01203, allocations: 2.438 kB / 326.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.01204, allocations: 1.375 kB / 326.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.01204, allocations: 1.984 kB / 326.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.01225, allocations: 170.3 kB / 326.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01225, allocations: 9.031 kB / 326.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-05/0.01229, allocations: 11.28 kB / 326.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.01229, allocations: 2.219 kB / 326.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.01231, allocations: 3.594 kB / 326.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.01231, allocations: 2.312 kB / 326.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01231, allocations: 1.219 kB / 326.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.0126, allocations: 181.6 kB / 326.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.025e-05/0.01267, allocations: 27.47 kB / 326.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.01271, allocations: 6.969 kB / 326.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.412e-05/0.01277, allocations: 8.859 kB / 326.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.01282, allocations: 7.234 kB / 326.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.01284, allocations: 9.328 kB / 326.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002094/0.01305, allocations: 196.1 kB / 326.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01305, allocations: 1.375 kB / 327 MB, free: 13.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.01331, allocations: 34.02 kB / 327 MB, free: 13.95 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.001629/0.01494, allocations: 456.8 kB / 327.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.01516, allocations: 69.12 kB / 327.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.01516, allocations: 0 / 327.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.824e-05/0.01525, allocations: 33.48 kB / 327.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.01569, allocations: 66.25 kB / 327.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006229/0.01631, allocations: 333.2 kB / 327.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.01645, allocations: 123.9 kB / 328 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.29e-05/0.01652, allocations: 23.05 kB / 328.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.01657, allocations: 19.33 kB / 328.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.01657, allocations: 1.438 kB / 328.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of Templates: time 0.007395/0.02397, allocations: 2.644 MB / 330.7 MB, free: 12.77 MB / 302.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.291481591761112]