Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.0007509/0.0007509, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001121/0.001872, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.000713/0.000713, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009899/0.001703, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9526/0.9526, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08273/1.035, allocations: 53.88 MB / 243.9 MB, free: 14.85 MB / 250.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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.717e-05, allocations: 5.828 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.00217/0.002187, allocations: 2.011 MB / 247.2 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.00368, allocations: 1.315 MB / 248.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.614e-05/0.003776, allocations: 7.938 kB / 248.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.003965, allocations: 67.55 kB / 248.6 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.004212, allocations: 139.3 kB / 248.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.004687, allocations: 250.8 kB / 249 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.004874, allocations: 183.5 kB / 249.2 MB, free: 9.594 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.921e-05/0.004953, allocations: 26.45 kB / 249.2 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.005102, allocations: 136.4 kB / 249.3 MB, free: 9.438 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.365e-05/0.005196, allocations: 71.78 kB / 249.4 MB, free: 9.367 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.005215, allocations: 15.94 kB / 249.4 MB, free: 9.352 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.00535, allocations: 75.89 kB / 249.5 MB, free: 9.277 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.005408, allocations: 47.84 kB / 249.5 MB, free: 9.23 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.005448, allocations: 31.88 kB / 249.6 MB, free: 9.199 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.005664, allocations: 187.2 kB / 249.7 MB, free: 9.016 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.005673, allocations: 0 / 249.7 MB, free: 9.016 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005673, allocations: 0 / 249.7 MB, free: 9.016 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.005682, allocations: 0 / 249.7 MB, free: 9.016 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.0004992/0.006182, allocations: 496.6 kB / 250.2 MB, free: 8.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.669e-05/0.006208, allocations: 12.03 kB / 250.2 MB, free: 8.488 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.006248, allocations: 20.92 kB / 250.3 MB, free: 8.469 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.00645, allocations: 221.8 kB / 250.5 MB, free: 8.223 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.006464, allocations: 384 / 250.5 MB, free: 8.223 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.00648, allocations: 12.38 kB / 250.5 MB, free: 8.211 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.00667, allocations: 158.5 kB / 250.6 MB, free: 8.027 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.006677, allocations: 0 / 250.6 MB, free: 8.027 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.006686, allocations: 3.984 kB / 250.6 MB, free: 8.023 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.006692, allocations: 11.94 kB / 250.7 MB, free: 8.012 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.604e-05/0.006728, allocations: 26.73 kB / 250.7 MB, free: 7.984 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.006962, allocations: 224.4 kB / 250.9 MB, free: 7.738 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.007081, allocations: 160 kB / 251.1 MB, free: 7.543 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/0.007118, allocations: 35.38 kB / 251.1 MB, free: 7.496 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.007135, allocations: 11.98 kB / 251.1 MB, free: 7.484 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.007e-05/0.007225, allocations: 70.16 kB / 251.2 MB, free: 7.402 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.007226, allocations: 0 / 251.2 MB, free: 7.402 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001383/0.007364, allocations: 97.52 kB / 251.3 MB, free: 7.301 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.007412, allocations: 136.5 kB / 251.4 MB, free: 7.137 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.007567, allocations: 264.7 kB / 251.7 MB, free: 6.867 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.007583, allocations: 29.7 kB / 251.7 MB, free: 6.832 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.007627, allocations: 117.2 kB / 251.8 MB, free: 6.707 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.007644, allocations: 19.84 kB / 251.8 MB, free: 6.688 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.007675, allocations: 29.69 kB / 251.8 MB, free: 6.652 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.847e-05/0.007754, allocations: 334.8 kB / 252.2 MB, free: 6.316 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.479e-05/0.007768, allocations: 10.77 kB / 252.2 MB, free: 6.305 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.951e-05/0.007798, allocations: 56.28 kB / 252.2 MB, free: 6.234 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.024e-05/0.007838, allocations: 39.34 kB / 252.3 MB, free: 6.188 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.00784, allocations: 0 / 252.3 MB, free: 6.188 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.543e-05/0.007905, allocations: 68.38 kB / 252.3 MB, free: 6.113 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.007915, allocations: 12.06 kB / 252.4 MB, free: 6.102 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.007918, allocations: 0 / 252.4 MB, free: 6.102 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.00793, allocations: 0 / 252.4 MB, free: 6.102 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-05/0.007992, allocations: 19.98 kB / 252.4 MB, free: 6.082 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.007994, allocations: 0 / 252.4 MB, free: 6.082 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/0.008027, allocations: 4 kB / 252.4 MB, free: 6.078 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.008032, allocations: 0 / 252.4 MB, free: 6.078 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.842e-05/0.0081, allocations: 128.9 kB / 252.5 MB, free: 5.941 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.008145, allocations: 65.55 kB / 252.6 MB, free: 5.871 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.141e-05/0.008237, allocations: 87.5 kB / 252.7 MB, free: 5.777 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.008239, allocations: 4 kB / 252.7 MB, free: 5.773 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.008241, allocations: 0 / 252.7 MB, free: 5.773 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.008246, allocations: 3.984 kB / 252.7 MB, free: 5.77 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.95e-05/0.008335, allocations: 113.8 kB / 252.8 MB, free: 5.641 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.008337, allocations: 0 / 252.8 MB, free: 5.641 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/0.008382, allocations: 23.92 kB / 252.8 MB, free: 5.617 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.008424, allocations: 35.72 kB / 252.8 MB, free: 5.582 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.008427, allocations: 4 kB / 252.8 MB, free: 5.578 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.008435, allocations: 7.984 kB / 252.8 MB, free: 5.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.008436, allocations: 4 kB / 252.9 MB, free: 5.566 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.008437, allocations: 4 kB / 252.9 MB, free: 5.562 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.413e-05/0.008511, allocations: 105.3 kB / 253 MB, free: 5.43 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.00853, allocations: 15.92 kB / 253 MB, free: 5.414 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.908e-05/0.008559, allocations: 4 kB / 253 MB, free: 5.41 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.00859, allocations: 15.92 kB / 253 MB, free: 5.395 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.0086, allocations: 4 kB / 253 MB, free: 5.391 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.548e-05/0.008676, allocations: 107.5 kB / 253.1 MB, free: 5.281 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008676, allocations: 0 / 253.1 MB, free: 5.281 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001377/0.008813, allocations: 35.92 kB / 253.1 MB, free: 5.246 MB / 250.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,backSample1.y,shiftSample1.y,backSample1.u,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.001131/0.009944, allocations: 0.549 MB / 253.7 MB, free: 4.922 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.725e-05/0.01004, allocations: 48.7 kB / 253.7 MB, free: 4.871 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/0.01005, allocations: 4 kB / 253.7 MB, free: 4.867 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.467e-05/0.01008, allocations: 20.86 kB / 253.8 MB, free: 4.844 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.01039, allocations: 435.4 kB / 254.2 MB, free: 4.352 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000464/0.01085, allocations: 368.4 kB / 254.5 MB, free: 3.957 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.707e-05/0.0109, allocations: 95.89 kB / 254.6 MB, free: 3.844 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.016e-05/0.01095, allocations: 21.86 kB / 254.7 MB, free: 3.82 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.764e-05/0.01104, allocations: 83.36 kB / 254.7 MB, free: 3.738 MB / 250.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01104, allocations: 0 / 254.7 MB, free: 3.738 MB / 250.7 MB Notification: Performance of Templates: time 0.004634/0.01567, allocations: 3.535 MB / 258.3 MB, free: 276 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.570010093972087]