Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001444/0.001444, allocations: 76.06 kB / 21.69 MB, free: 2.863 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.001488/0.001488, allocations: 144.1 kB / 24.97 MB, free: 8.918 MB / 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 0.9816/0.9816, allocations: 173.4 MB / 201.5 MB, free: 9.348 MB / 186.7 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.IntegerSignals.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.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 268.1 MB, free: 6.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.852e-05, allocations: 9.625 kB / 268.1 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.002378/0.002397, allocations: 1.932 MB / 270 MB, free: 4.797 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.003821, allocations: 1.133 MB / 271.1 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.003942, allocations: 7.938 kB / 271.2 MB, free: 3.648 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.004238, allocations: 67.59 kB / 271.2 MB, free: 3.582 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.004493, allocations: 95.53 kB / 271.3 MB, free: 3.488 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005434/0.005036, allocations: 270.9 kB / 271.6 MB, free: 3.223 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.005254, allocations: 175.5 kB / 271.7 MB, free: 3.051 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.7e-05/0.005351, allocations: 21.8 kB / 271.8 MB, free: 3.027 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.005466, allocations: 103.7 kB / 271.9 MB, free: 2.926 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.357e-05/0.00556, allocations: 71.8 kB / 271.9 MB, free: 2.855 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.005581, allocations: 8 kB / 271.9 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.005739, allocations: 71.88 kB / 272 MB, free: 2.777 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.16e-05/0.00583, allocations: 55.77 kB / 272.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.046e-05/0.005891, allocations: 43.84 kB / 272.1 MB, free: 2.68 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.006167, allocations: 187.3 kB / 272.3 MB, free: 2.496 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.00617, allocations: 11.94 kB / 272.3 MB, free: 2.484 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.006171, allocations: 0 / 272.3 MB, free: 2.484 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.006177, allocations: 0 / 272.3 MB, free: 2.484 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.0005421/0.006719, allocations: 0.5672 MB / 272.9 MB, free: 1.875 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.006752, allocations: 8.031 kB / 272.9 MB, free: 1.867 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.25e-05/0.006815, allocations: 32.8 kB / 272.9 MB, free: 1.836 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.007146, allocations: 219.5 kB / 273.1 MB, free: 1.594 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.00717, allocations: 8.375 kB / 273.1 MB, free: 1.586 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.007188, allocations: 8.375 kB / 273.1 MB, free: 1.578 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.007483, allocations: 206.3 kB / 273.3 MB, free: 1.332 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.007491, allocations: 3.938 kB / 273.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.007501, allocations: 4 kB / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.007509, allocations: 0 / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.877e-05/0.007567, allocations: 31.91 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.008031, allocations: 0.4939 MB / 273.9 MB, free: 0.75 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.008244, allocations: 148.4 kB / 274 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.017e-05/0.008305, allocations: 54.73 kB / 274.1 MB, free: 496 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.008327, allocations: 11.94 kB / 274.1 MB, free: 484 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.008471, allocations: 88.41 kB / 274.2 MB, free: 372 kB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.008472, allocations: 0 / 274.2 MB, free: 372 kB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002763/0.008748, allocations: 149.3 kB / 274.3 MB, free: 216 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/0.008834, allocations: 166.2 kB / 274.5 MB, free: 12 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.009092, allocations: 320.3 kB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.009111, allocations: 25.7 kB / 274.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.13e-05/0.009202, allocations: 175.1 kB / 275 MB, free: 15.47 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.009229, allocations: 23.84 kB / 275 MB, free: 15.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.009277, allocations: 39.36 kB / 275.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.00941, allocations: 0.4962 MB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.714e-05/0.009437, allocations: 16.36 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.065e-05/0.009498, allocations: 113.8 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.028e-05/0.009568, allocations: 63.19 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.00957, allocations: 0 / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000118/0.009688, allocations: 97.47 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.009702, allocations: 4 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.009707, allocations: 0 / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.009719, allocations: 0 / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.009791, allocations: 20.08 kB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.009797, allocations: 4 kB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.19e-05/0.009839, allocations: 11.94 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.009844, allocations: 0 / 275.9 MB, free: 14.52 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 9.936e-05/0.009944, allocations: 172.5 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.651e-05/0.01001, allocations: 73.48 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.01015, allocations: 95.44 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01016, allocations: 4 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01016, allocations: 4 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.01016, allocations: 4 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.01034, allocations: 200.5 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.01034, allocations: 7.984 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.113e-05/0.01042, allocations: 16 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.01042, allocations: 3.984 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.01043, allocations: 4 kB / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.01044, allocations: 3.938 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.01044, allocations: 4 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.01062, allocations: 183.3 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.01067, allocations: 39.84 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.0107, allocations: 4.062 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.108e-05/0.01074, allocations: 8 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.01079, allocations: 19.91 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.01081, allocations: 4 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001707/0.01098, allocations: 221.1 kB / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01098, allocations: 0 / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000196/0.01117, allocations: 39.92 kB / 277 MB, free: 13.33 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.0009899/0.01216, allocations: 399.4 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.01232, allocations: 67.59 kB / 277.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.01233, allocations: 0 / 277.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.856e-05/0.01238, allocations: 35.73 kB / 277.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.01266, allocations: 68.22 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004384/0.01309, allocations: 352.3 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.506e-05/0.01315, allocations: 87.97 kB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.23e-05/0.01322, allocations: 21.47 kB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.01328, allocations: 28.73 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of SimCode: time 5e-07/0.01328, allocations: 0 / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of Templates: time 0.005007/0.01829, allocations: 3.076 MB / 281.1 MB, free: 9.344 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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.0144968209788203]