Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008733/0.0008733, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004735/0.004735, allocations: 158.5 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8615/0.8615, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.884e-05, allocations: 7.625 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.002126/0.002144, allocations: 1.91 MB / 327.7 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.003374, allocations: 1.168 MB / 328.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.771e-05/0.003472, allocations: 7.938 kB / 328.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000471/0.003943, allocations: 151.4 kB / 329 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.004191, allocations: 163.2 kB / 329.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.004472, allocations: 178.4 kB / 329.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.004658, allocations: 199.3 kB / 329.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.214e-05/0.00475, allocations: 21.8 kB / 329.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.004857, allocations: 111.7 kB / 329.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.304e-05/0.00495, allocations: 67.78 kB / 329.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.00497, allocations: 12 kB / 329.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.66e-05/0.005066, allocations: 55.91 kB / 329.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.005122, allocations: 51.83 kB / 329.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.552e-05/0.005168, allocations: 39.84 kB / 329.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.0054, allocations: 219.2 kB / 330.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.005403, allocations: 7.938 kB / 330.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005404, allocations: 4 kB / 330.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.005408, allocations: 0 / 330.1 MB, free: 11.03 MB / 298.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.0005069/0.005915, allocations: 450.7 kB / 330.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.005945, allocations: 11.98 kB / 330.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.005988, allocations: 28.78 kB / 330.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.00622, allocations: 204.8 kB / 330.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.006233, allocations: 8.375 kB / 330.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.00625, allocations: 8.375 kB / 330.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.006553, allocations: 163.2 kB / 331 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.006563, allocations: 4.188 kB / 331 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.006572, allocations: 384 / 331 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.006578, allocations: 7.938 kB / 331 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.126e-05/0.006649, allocations: 43.91 kB / 331 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.007035, allocations: 378.2 kB / 331.4 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.007182, allocations: 134.5 kB / 331.5 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.769e-05/0.00724, allocations: 55.41 kB / 331.6 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.00726, allocations: 7.938 kB / 331.6 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001134/0.007373, allocations: 89.05 kB / 331.7 MB, free: 9.277 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.007374, allocations: 3.938 kB / 331.7 MB, free: 9.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002482/0.007622, allocations: 169.7 kB / 331.8 MB, free: 9.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.007677, allocations: 136.5 kB / 332 MB, free: 8.938 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.00792, allocations: 281.8 kB / 332.3 MB, free: 8.652 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.007933, allocations: 29.7 kB / 332.3 MB, free: 8.617 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/0.00799, allocations: 116.4 kB / 332.4 MB, free: 8.496 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.008011, allocations: 19.97 kB / 332.4 MB, free: 8.477 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.008045, allocations: 33.66 kB / 332.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.515e-05/0.008121, allocations: 330.8 kB / 332.8 MB, free: 8.105 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.294e-05/0.008154, allocations: 19.94 kB / 332.8 MB, free: 8.086 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.653e-05/0.00821, allocations: 77.12 kB / 332.9 MB, free: 7.992 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.767e-05/0.008278, allocations: 62.66 kB / 332.9 MB, free: 7.922 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.00828, allocations: 3.938 kB / 332.9 MB, free: 7.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001108/0.008391, allocations: 109.5 kB / 333 MB, free: 7.805 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.008403, allocations: 8 kB / 333 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.008408, allocations: 0 / 333 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.008418, allocations: 0 / 333 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.296e-05/0.008471, allocations: 15.98 kB / 333.1 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.008476, allocations: 4.047 kB / 333.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.581e-05/0.008512, allocations: 11.94 kB / 333.1 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.008517, allocations: 4 kB / 333.1 MB, free: 7.762 MB / 298.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 7.892e-05/0.008596, allocations: 142.1 kB / 333.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/0.008647, allocations: 77.42 kB / 333.3 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.008778, allocations: 111.4 kB / 333.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.00878, allocations: 0 / 333.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.008784, allocations: 7.938 kB / 333.4 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.008787, allocations: 0 / 333.4 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.008897, allocations: 177.3 kB / 333.6 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.008899, allocations: 3.984 kB / 333.6 MB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.813e-05/0.008917, allocations: 8 kB / 333.6 MB, free: 7.199 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.00892, allocations: 11.86 kB / 333.6 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.008928, allocations: 4 kB / 333.6 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.008929, allocations: 0 / 333.6 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.00893, allocations: 0 / 333.6 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.009069, allocations: 183.5 kB / 333.8 MB, free: 6.977 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.009117, allocations: 39.75 kB / 333.8 MB, free: 6.938 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.009133, allocations: 4.188 kB / 333.8 MB, free: 6.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.003e-05/0.009163, allocations: 8 kB / 333.8 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.009195, allocations: 15.92 kB / 333.9 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.009206, allocations: 4 kB / 333.9 MB, free: 6.906 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002451/0.009451, allocations: 205.2 kB / 334.1 MB, free: 6.707 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009451, allocations: 0 / 334.1 MB, free: 6.707 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001578/0.009609, allocations: 28 kB / 334.1 MB, free: 6.68 MB / 298.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.0006486/0.01026, allocations: 444.8 kB / 334.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.01039, allocations: 75.89 kB / 334.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.0104, allocations: 0 / 334.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.258e-05/0.01044, allocations: 27.98 kB / 334.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.01068, allocations: 63.23 kB / 334.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003861/0.01106, allocations: 379.3 kB / 335.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.01117, allocations: 124 kB / 335.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.0112, allocations: 24.48 kB / 335.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01121, allocations: 0 / 335.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of Templates: time 0.003233/0.01444, allocations: 2.785 MB / 338 MB, free: 2.867 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.605850551277399]