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.001512/0.001512, allocations: 74.56 kB / 21.24 MB, free: 0.5469 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.001827/0.001827, allocations: 151 kB / 24.49 MB, free: 3.727 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.388/1.388, allocations: 173.4 MB / 201.1 MB, free: 12.71 MB / 190.1 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 0.001596/0.001596, allocations: 47.33 kB / 319.4 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09528/0.09688, allocations: 52.17 MB / 371.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003393/0.1003, allocations: 1.884 MB / 373.5 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.1021, allocations: 1.017 MB / 374.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.1022, allocations: 7.938 kB / 374.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006291/0.1029, allocations: 159.5 kB / 374.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.1032, allocations: 123.6 kB / 374.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005824/0.1038, allocations: 199.1 kB / 374.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.104, allocations: 191.4 kB / 375.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1041, allocations: 21.75 kB / 375.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.1043, allocations: 83.62 kB / 375.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.1044, allocations: 87.55 kB / 375.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.1044, allocations: 8 kB / 375.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.1046, allocations: 59.95 kB / 375.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.894e-05/0.1047, allocations: 47.84 kB / 375.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.266e-05/0.1047, allocations: 47.67 kB / 375.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.1051, allocations: 215 kB / 375.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1051, allocations: 0 / 375.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1051, allocations: 0 / 375.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1051, allocations: 3.938 kB / 375.7 MB, free: 3.203 MB / 334.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.0007512/0.1059, allocations: 450.8 kB / 376.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.1059, allocations: 8.031 kB / 376.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.28e-05/0.1059, allocations: 32.72 kB / 376.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.1063, allocations: 209.6 kB / 376.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1063, allocations: 4.375 kB / 376.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.1063, allocations: 12.12 kB / 376.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.1067, allocations: 158.7 kB / 376.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1067, allocations: 3.938 kB / 376.6 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.1067, allocations: 4 kB / 376.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1067, allocations: 7.984 kB / 376.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.1068, allocations: 39.97 kB / 376.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.1073, allocations: 382.2 kB / 377 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.1076, allocations: 138.5 kB / 377.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.983e-05/0.1077, allocations: 51.42 kB / 377.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1077, allocations: 4 kB / 377.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.1079, allocations: 97.03 kB / 377.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.1079, allocations: 0 / 377.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003955/0.1082, allocations: 161.4 kB / 377.4 MB, free: 1.277 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.963e-05/0.1083, allocations: 140.5 kB / 377.6 MB, free: 1.109 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.1086, allocations: 261.8 kB / 377.8 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.1087, allocations: 29.7 kB / 377.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.139e-05/0.1087, allocations: 120.4 kB / 378 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.1088, allocations: 28.27 kB / 378 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.1088, allocations: 37.7 kB / 378 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.109, allocations: 330.8 kB / 378.3 MB, free: 288 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.648e-05/0.1091, allocations: 27.98 kB / 378.4 MB, free: 260 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.1092, allocations: 95.7 kB / 378.5 MB, free: 136 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.1093, allocations: 93.02 kB / 378.6 MB, free: 24 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1093, allocations: 0 / 378.6 MB, free: 24 kB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002598/0.1096, allocations: 137.4 kB / 378.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1096, allocations: 10.81 kB / 378.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1096, allocations: 3.938 kB / 378.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.1096, allocations: 7.938 kB / 378.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.259e-05/0.1097, allocations: 8 kB / 378.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.1097, allocations: 7.984 kB / 378.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.161e-05/0.1098, allocations: 4 kB / 378.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.1098, allocations: 8 kB / 378.7 MB, free: 15.84 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001402/0.11, allocations: 153.8 kB / 378.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.98e-05/0.1101, allocations: 73.48 kB / 379 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.1103, allocations: 111.4 kB / 379.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.1103, allocations: 4.312 kB / 379.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1103, allocations: 0 / 379.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1103, allocations: 4 kB / 379.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.1105, allocations: 169.2 kB / 379.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1105, allocations: 0 / 379.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.1105, allocations: 12.06 kB / 379.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1105, allocations: 0 / 379.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1106, allocations: 11.92 kB / 379.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1106, allocations: 0 / 379.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1106, allocations: 0 / 379.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.1108, allocations: 187.4 kB / 379.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.381e-05/0.1109, allocations: 31.84 kB / 379.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.1109, allocations: 4 kB / 379.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.928e-05/0.111, allocations: 7.984 kB / 379.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.1111, allocations: 7.938 kB / 379.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.1111, allocations: 15.98 kB / 379.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001959/0.1113, allocations: 193.2 kB / 379.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1113, allocations: 0 / 379.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.1115, allocations: 35.92 kB / 379.7 MB, free: 14.75 MB / 350.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.001627/0.1132, allocations: 449.2 kB / 380.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002352/0.1134, allocations: 83.77 kB / 380.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1134, allocations: 4.312 kB / 380.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.582e-05/0.1135, allocations: 27.98 kB / 380.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.1139, allocations: 72.02 kB / 380.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006807/0.1146, allocations: 336.6 kB / 380.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.1148, allocations: 119.8 kB / 380.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.69e-05/0.1149, allocations: 25.62 kB / 380.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.009e-05/0.1149, allocations: 28.48 kB / 380.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1149, allocations: 0 / 380.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of Templates: time 0.006966/0.1219, allocations: 2.671 MB / 383.5 MB, free: 11.13 MB / 350.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/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.241045011091046]