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.002285/0.002285, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002613/0.002613, allocations: 153.5 kB / 24.26 MB, free: 168 kB / 18.57 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.549/1.549, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 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.914e-06/1.914e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.176e-05/3.367e-05, allocations: 2.312 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.00621/0.006243, allocations: 1.913 MB / 269.2 MB, free: 4.809 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003898/0.01014, allocations: 1.052 MB / 270.3 MB, free: 3.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.01031, allocations: 3.938 kB / 270.3 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.0114, allocations: 147.5 kB / 270.4 MB, free: 3.602 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006001/0.012, allocations: 123.4 kB / 270.5 MB, free: 3.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.01313, allocations: 211.2 kB / 270.7 MB, free: 3.273 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000584/0.01371, allocations: 191.4 kB / 270.9 MB, free: 3.086 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.01388, allocations: 21.8 kB / 271 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.0142, allocations: 99.72 kB / 271.1 MB, free: 2.965 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.01442, allocations: 63.8 kB / 271.1 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.17e-05/0.01448, allocations: 12 kB / 271.1 MB, free: 2.891 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.01475, allocations: 71.83 kB / 271.2 MB, free: 2.82 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.01488, allocations: 47.83 kB / 271.2 MB, free: 2.773 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.01499, allocations: 35.88 kB / 271.3 MB, free: 2.738 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000613/0.0156, allocations: 219.1 kB / 271.5 MB, free: 2.523 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.01561, allocations: 4 kB / 271.5 MB, free: 2.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01561, allocations: 0 / 271.5 MB, free: 2.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.01561, allocations: 0 / 271.5 MB, free: 2.52 MB / 250.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.0009523/0.01657, allocations: 0.5476 MB / 272 MB, free: 1.93 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.01661, allocations: 12.03 kB / 272.1 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.266e-05/0.0167, allocations: 32.8 kB / 272.1 MB, free: 1.887 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.01711, allocations: 219.6 kB / 272.3 MB, free: 1.645 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.01713, allocations: 8.375 kB / 272.3 MB, free: 1.637 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.01715, allocations: 8.375 kB / 272.3 MB, free: 1.629 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003971/0.01755, allocations: 168.2 kB / 272.5 MB, free: 1.434 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.01756, allocations: 3.938 kB / 272.5 MB, free: 1.43 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.01758, allocations: 3.984 kB / 272.5 MB, free: 1.426 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.01758, allocations: 4 kB / 272.5 MB, free: 1.422 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.0177, allocations: 39.92 kB / 272.5 MB, free: 1.383 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008506/0.01855, allocations: 0.494 MB / 273 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.01887, allocations: 160.4 kB / 273.2 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.01899, allocations: 58.73 kB / 273.2 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.01902, allocations: 11.94 kB / 273.3 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.01922, allocations: 100.5 kB / 273.4 MB, free: 436 kB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.01922, allocations: 4 kB / 273.4 MB, free: 432 kB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004472/0.01967, allocations: 157.4 kB / 273.5 MB, free: 268 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.01979, allocations: 140.5 kB / 273.6 MB, free: 96 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004031/0.0202, allocations: 324.3 kB / 274 MB, free: 15.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.02022, allocations: 33.7 kB / 274 MB, free: 15.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.02039, allocations: 175.1 kB / 274.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.02043, allocations: 23.83 kB / 274.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.751e-05/0.02049, allocations: 39.31 kB / 274.2 MB, free: 15.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003078/0.0208, allocations: 0.5118 MB / 274.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.467e-05/0.02086, allocations: 16.38 kB / 274.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.02097, allocations: 88.44 kB / 274.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.02111, allocations: 70.92 kB / 274.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.02111, allocations: 0 / 274.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002277/0.02134, allocations: 105.5 kB / 275 MB, free: 14.63 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.02136, allocations: 4 kB / 275 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.02136, allocations: 0 / 275 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.02138, allocations: 0 / 275 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.57e-05/0.02146, allocations: 15.98 kB / 275 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.02147, allocations: 4.406 kB / 275 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.248e-05/0.02153, allocations: 4 kB / 275 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.02155, allocations: 8 kB / 275.1 MB, free: 14.59 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 0.000161/0.02171, allocations: 176.5 kB / 275.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.02182, allocations: 77.48 kB / 275.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.02207, allocations: 103.4 kB / 275.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.02208, allocations: 0 / 275.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.02208, allocations: 4 kB / 275.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.02209, allocations: 0 / 275.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.02237, allocations: 212.5 kB / 275.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.02237, allocations: 0 / 275.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.763e-05/0.02241, allocations: 8 kB / 275.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.02241, allocations: 0 / 275.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.02243, allocations: 11.92 kB / 275.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.02243, allocations: 0 / 275.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.02243, allocations: 4 kB / 275.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.02276, allocations: 199.2 kB / 275.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-05/0.02285, allocations: 31.88 kB / 275.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.02287, allocations: 4 kB / 275.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.02294, allocations: 12 kB / 275.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.02299, allocations: 11.92 kB / 275.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.02301, allocations: 7.984 kB / 275.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005011/0.02351, allocations: 221.1 kB / 276.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02351, allocations: 0 / 276.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002637/0.02378, allocations: 35.89 kB / 276.1 MB, free: 13.4 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.002967/0.02674, allocations: 449.6 kB / 276.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002371/0.02698, allocations: 71.66 kB / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02698, allocations: 0 / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.584e-05/0.02708, allocations: 43.61 kB / 276.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004743/0.02755, allocations: 76.56 kB / 276.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006692/0.02822, allocations: 336.7 kB / 277.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.02837, allocations: 123.9 kB / 277.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.972e-05/0.02844, allocations: 17.48 kB / 277.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.0285, allocations: 20.5 kB / 277.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02851, allocations: 0 / 277.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of Templates: time 0.007453/0.03596, allocations: 2.65 MB / 279.9 MB, free: 9.801 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 240] 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.477372276014648]