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.0009612/0.0009612, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.001044/0.001044, allocations: 148.6 kB / 24.9 MB, free: 8.727 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.959/0.959, allocations: 173.4 MB / 201.5 MB, free: 8.727 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.724e-06/1.724e-06, allocations: 3.938 kB / 268.5 MB, free: 5.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.523e-05, allocations: 6.109 kB / 268.5 MB, free: 5.977 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.004075/0.0041, allocations: 1.976 MB / 270.5 MB, free: 3.984 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.006168, allocations: 1.137 MB / 271.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.006329, allocations: 7.938 kB / 271.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003826/0.006711, allocations: 63.61 kB / 271.7 MB, free: 2.77 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.007042, allocations: 103.5 kB / 271.8 MB, free: 2.668 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000801/0.007843, allocations: 255 kB / 272 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.008139, allocations: 179.5 kB / 272.2 MB, free: 2.242 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.008267, allocations: 26.38 kB / 272.2 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.008483, allocations: 103.8 kB / 272.3 MB, free: 2.113 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.008618, allocations: 59.8 kB / 272.4 MB, free: 2.055 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.008644, allocations: 16 kB / 272.4 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.008855, allocations: 75.81 kB / 272.5 MB, free: 1.965 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.448e-05/0.00894, allocations: 55.77 kB / 272.6 MB, free: 1.91 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.95e-05/0.008999, allocations: 43.84 kB / 272.6 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.009338, allocations: 183.3 kB / 272.8 MB, free: 1.688 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.009345, allocations: 8 kB / 272.8 MB, free: 1.68 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.009346, allocations: 0 / 272.8 MB, free: 1.68 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.009351, allocations: 0 / 272.8 MB, free: 1.68 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.000604/0.009955, allocations: 445.1 kB / 273.2 MB, free: 1.215 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.009993, allocations: 12.03 kB / 273.2 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.01004, allocations: 20.92 kB / 273.2 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.01034, allocations: 208.8 kB / 273.5 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.01036, allocations: 4.375 kB / 273.5 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.01038, allocations: 8.375 kB / 273.5 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.01065, allocations: 150.8 kB / 273.6 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.01066, allocations: 3.938 kB / 273.6 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.01067, allocations: 4 kB / 273.6 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.01068, allocations: 4 kB / 273.6 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.918e-05/0.01073, allocations: 26.73 kB / 273.6 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.01112, allocations: 295.7 kB / 273.9 MB, free: 420 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.0113, allocations: 160 kB / 274.1 MB, free: 220 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.068e-05/0.01135, allocations: 43.41 kB / 274.1 MB, free: 164 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.01137, allocations: 11.88 kB / 274.1 MB, free: 152 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.01151, allocations: 83.91 kB / 274.2 MB, free: 48 kB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.913e-06/0.01151, allocations: 0 / 274.2 MB, free: 48 kB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002278/0.01174, allocations: 100.4 kB / 274.3 MB, free: 15.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.01181, allocations: 140.5 kB / 274.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.01204, allocations: 254.6 kB / 274.7 MB, free: 15.51 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.01206, allocations: 30.08 kB / 274.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.01212, allocations: 112.9 kB / 274.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.01215, allocations: 11.89 kB / 274.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/0.0122, allocations: 33.66 kB / 274.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.01231, allocations: 330.8 kB / 275.2 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.616e-05/0.01234, allocations: 10.81 kB / 275.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.424e-05/0.01239, allocations: 65.08 kB / 275.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.508e-05/0.01247, allocations: 52.12 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01247, allocations: 0 / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001255/0.01259, allocations: 80.41 kB / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.01261, allocations: 14.91 kB / 275.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01262, allocations: 0 / 275.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.01263, allocations: 3.984 kB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/0.01273, allocations: 15.98 kB / 275.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.01273, allocations: 4 kB / 275.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.683e-05/0.01279, allocations: 3.938 kB / 275.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.0128, allocations: 4 kB / 275.5 MB, free: 14.69 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.828e-05/0.0129, allocations: 124.6 kB / 275.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.859e-05/0.01297, allocations: 61.69 kB / 275.7 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.01311, allocations: 83.36 kB / 275.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.01312, allocations: 4.312 kB / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.01312, allocations: 0 / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.01313, allocations: 3.984 kB / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.01329, allocations: 113.8 kB / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01329, allocations: 0 / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.844e-05/0.01336, allocations: 15.98 kB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.01336, allocations: 4 kB / 275.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.01337, allocations: 8 kB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.01338, allocations: 7.938 kB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.01338, allocations: 3.984 kB / 275.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.01351, allocations: 113.3 kB / 276 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.005e-05/0.01358, allocations: 35.78 kB / 276 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.01361, allocations: 7.938 kB / 276 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.742e-05/0.01367, allocations: 3.984 kB / 276 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.01372, allocations: 11.98 kB / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.01373, allocations: 4 kB / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001227/0.01385, allocations: 101.6 kB / 276.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01385, allocations: 8 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002527/0.01411, allocations: 35.89 kB / 276.2 MB, free: 13.88 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.001779/0.01589, allocations: 0.5135 MB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.01603, allocations: 48.72 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.01603, allocations: 4 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.734e-05/0.01609, allocations: 24.91 kB / 276.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.01641, allocations: 61.67 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006106/0.01702, allocations: 355.3 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.168e-05/0.01709, allocations: 79.97 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.374e-05/0.01716, allocations: 25.75 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.01729, allocations: 87.53 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of SimCode: time 1.613e-06/0.01729, allocations: 4 kB / 277.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of Templates: time 0.007321/0.02461, allocations: 3.252 MB / 280.6 MB, free: 9.66 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 -s gbode -gbm=radauIIA3 -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: 2.723021070007235]