Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001053/0.001053, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001301/0.001301, allocations: 160.3 kB / 24.91 MB, free: 8.758 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.9989/0.9989, allocations: 177 MB / 205.2 MB, free: 5.422 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.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 273.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.289e-05, allocations: 6.25 kB / 273.4 MB, free: 1.164 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003037/0.00306, allocations: 1.998 MB / 275.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.004956, allocations: 1.281 MB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.005112, allocations: 3.938 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003596/0.005472, allocations: 75.53 kB / 276.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.005844, allocations: 131.4 kB / 276.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00064/0.006484, allocations: 227.1 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000246/0.00673, allocations: 187.4 kB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.006832, allocations: 30.38 kB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.006968, allocations: 107.7 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.007079, allocations: 67.8 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.0071, allocations: 12 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.007284, allocations: 71.88 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.095e-05/0.007365, allocations: 63.75 kB / 277.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.825e-05/0.007413, allocations: 35.88 kB / 277.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.007691, allocations: 195.2 kB / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.007694, allocations: 3.938 kB / 277.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.007695, allocations: 0 / 277.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.007699, allocations: 0 / 277.9 MB, free: 12.67 MB / 266.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.0005085/0.008207, allocations: 453.1 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.008244, allocations: 11.98 kB / 278.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.008289, allocations: 16.92 kB / 278.4 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.008527, allocations: 216.7 kB / 278.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.008546, allocations: 12.36 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.008557, allocations: 4.375 kB / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.008774, allocations: 154.7 kB / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.008781, allocations: 192 / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.008792, allocations: 8.375 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-06/0.008799, allocations: 7.938 kB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.047e-05/0.008839, allocations: 26.73 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.009147, allocations: 291.8 kB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.00929, allocations: 152 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.004e-05/0.00933, allocations: 47.41 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.009349, allocations: 4 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/0.009463, allocations: 95.78 kB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.009464, allocations: 0 / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001641/0.009628, allocations: 100.4 kB / 279.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.009687, allocations: 136.5 kB / 279.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.009864, allocations: 264.6 kB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.009883, allocations: 30.08 kB / 279.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/0.009948, allocations: 120.8 kB / 280 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.009975, allocations: 15.84 kB / 280 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.01002, allocations: 33.64 kB / 280 MB, free: 10.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.01013, allocations: 334.8 kB / 280.4 MB, free: 9.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.468e-05/0.01016, allocations: 10.83 kB / 280.4 MB, free: 9.918 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.671e-05/0.01021, allocations: 65.06 kB / 280.4 MB, free: 9.836 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.58e-05/0.01028, allocations: 48.16 kB / 280.5 MB, free: 9.777 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01028, allocations: 0 / 280.5 MB, free: 9.777 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001046/0.01039, allocations: 76.47 kB / 280.6 MB, free: 9.695 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.01041, allocations: 11.92 kB / 280.6 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.01041, allocations: 0 / 280.6 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.477e-06/0.01042, allocations: 4 kB / 280.6 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.563e-05/0.0105, allocations: 12 kB / 280.6 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.0105, allocations: 0 / 280.6 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.927e-05/0.01054, allocations: 7.984 kB / 280.6 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.01054, allocations: 0 / 280.6 MB, free: 9.66 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 8.227e-05/0.01063, allocations: 132.5 kB / 280.7 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/0.01068, allocations: 57.67 kB / 280.8 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.01079, allocations: 87.39 kB / 280.9 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01079, allocations: 4 kB / 280.9 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.01079, allocations: 0 / 280.9 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.0108, allocations: 4.312 kB / 280.9 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.01092, allocations: 121.7 kB / 281 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.01092, allocations: 4 kB / 281 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-05/0.01097, allocations: 15.98 kB / 281 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.01097, allocations: 4 kB / 281 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.01098, allocations: 4.062 kB / 281 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.01098, allocations: 11.88 kB / 281 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01099, allocations: 0 / 281 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.763e-05/0.01108, allocations: 117.3 kB / 281.1 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.01114, allocations: 35.84 kB / 281.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.01116, allocations: 4 kB / 281.2 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.193e-05/0.01119, allocations: 3.938 kB / 281.2 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.01124, allocations: 11.98 kB / 281.2 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.01126, allocations: 11.92 kB / 281.2 MB, free: 8.965 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.445e-05/0.01135, allocations: 107.5 kB / 281.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01135, allocations: 4 kB / 281.3 MB, free: 8.855 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001699/0.01152, allocations: 35.94 kB / 281.4 MB, free: 8.82 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.00112/0.01264, allocations: 0.5054 MB / 281.9 MB, free: 8.504 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.01277, allocations: 48.72 kB / 281.9 MB, free: 8.453 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.01278, allocations: 0 / 281.9 MB, free: 8.453 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.949e-05/0.01282, allocations: 28.78 kB / 281.9 MB, free: 8.422 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.01303, allocations: 69.31 kB / 282 MB, free: 8.355 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/0.0135, allocations: 356.6 kB / 282.4 MB, free: 7.969 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.181e-05/0.01355, allocations: 83.97 kB / 282.4 MB, free: 7.867 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.258e-05/0.01361, allocations: 21.62 kB / 282.5 MB, free: 7.848 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.284e-05/0.0137, allocations: 87.34 kB / 282.5 MB, free: 7.762 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.0137, allocations: 4.188 kB / 282.5 MB, free: 7.758 MB / 266.7 MB Notification: Performance of Templates: time 0.005302/0.019, allocations: 3.264 MB / 285.8 MB, free: 4.539 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7880062321200967]