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.00119/0.00119, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.005766/0.005766, allocations: 160.6 kB / 24.7 MB, free: 9.441 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.8309/0.8309, allocations: 177 MB / 204.9 MB, free: 5.727 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.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.303e-06/1.303e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.218e-05, allocations: 7.062 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002192/0.002214, allocations: 1.904 MB / 327.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.003581, allocations: 1.249 MB / 328.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.003688, allocations: 7.938 kB / 328.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.003957, allocations: 71.55 kB / 329 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.004236, allocations: 147.3 kB / 329.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.004632, allocations: 226.2 kB / 329.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.004823, allocations: 195.4 kB / 329.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.004925, allocations: 25.73 kB / 329.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.005047, allocations: 111.7 kB / 329.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.00515, allocations: 79.78 kB / 329.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.005169, allocations: 8 kB / 329.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.005285, allocations: 67.95 kB / 329.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.073e-05/0.005355, allocations: 59.75 kB / 329.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.935e-05/0.005405, allocations: 39.86 kB / 329.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.005676, allocations: 255.1 kB / 330.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.005678, allocations: 3.938 kB / 330.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.005679, allocations: 4 kB / 330.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.005683, allocations: 0 / 330.2 MB, free: 10.93 MB / 298.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.000539/0.006222, allocations: 486.4 kB / 330.7 MB, free: 10.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.006255, allocations: 15.98 kB / 330.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.543e-05/0.0063, allocations: 24.8 kB / 330.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.006576, allocations: 245.8 kB / 331 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.006593, allocations: 16.36 kB / 331 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.006606, allocations: 4.375 kB / 331 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.006887, allocations: 193.8 kB / 331.2 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.006896, allocations: 8.172 kB / 331.2 MB, free: 9.867 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.00691, allocations: 8.375 kB / 331.2 MB, free: 9.859 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.006916, allocations: 3.938 kB / 331.2 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.055e-05/0.007006, allocations: 39.92 kB / 331.2 MB, free: 9.816 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.007362, allocations: 330.9 kB / 331.5 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.007527, allocations: 138.5 kB / 331.7 MB, free: 9.281 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/0.007587, allocations: 59.42 kB / 331.7 MB, free: 9.211 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.007605, allocations: 3.938 kB / 331.7 MB, free: 9.207 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001164/0.007722, allocations: 83.31 kB / 331.8 MB, free: 9.113 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.007723, allocations: 0 / 331.8 MB, free: 9.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002931/0.008016, allocations: 177.4 kB / 332 MB, free: 8.934 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/0.008089, allocations: 166.1 kB / 332.2 MB, free: 8.734 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005243/0.008614, allocations: 344.2 kB / 332.5 MB, free: 8.391 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.008629, allocations: 34.06 kB / 332.5 MB, free: 8.352 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.095e-05/0.0087, allocations: 136.3 kB / 332.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.008721, allocations: 19.97 kB / 332.7 MB, free: 8.191 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.008757, allocations: 29.66 kB / 332.7 MB, free: 8.156 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.386e-05/0.008841, allocations: 338.8 kB / 333 MB, free: 7.816 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.331e-05/0.008884, allocations: 27.86 kB / 333.1 MB, free: 7.789 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.775e-05/0.008952, allocations: 110.8 kB / 333.2 MB, free: 7.656 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.71e-05/0.009029, allocations: 57.7 kB / 333.2 MB, free: 7.594 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.009031, allocations: 0 / 333.2 MB, free: 7.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001201/0.009151, allocations: 113.5 kB / 333.3 MB, free: 7.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.009167, allocations: 11.98 kB / 333.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.009171, allocations: 160 / 333.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.009182, allocations: 0 / 333.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.113e-05/0.009243, allocations: 12.31 kB / 333.4 MB, free: 7.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.009248, allocations: 3.984 kB / 333.4 MB, free: 7.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.004e-05/0.009288, allocations: 11.94 kB / 333.4 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.009294, allocations: 4 kB / 333.4 MB, free: 7.434 MB / 298.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 9.571e-05/0.00939, allocations: 154.6 kB / 333.5 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.778e-05/0.009458, allocations: 85.45 kB / 333.6 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.009621, allocations: 123.5 kB / 333.7 MB, free: 7.055 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.009624, allocations: 4 kB / 333.7 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.009629, allocations: 0 / 333.7 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.009632, allocations: 0 / 333.7 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.009759, allocations: 193.1 kB / 333.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.009761, allocations: 0 / 333.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.774e-05/0.009809, allocations: 23.92 kB / 334 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.009812, allocations: 3.938 kB / 334 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.009822, allocations: 4 kB / 334 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.009827, allocations: 4.094 kB / 334 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.009828, allocations: 3.938 kB / 334 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.00999, allocations: 183.5 kB / 334.2 MB, free: 6.586 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.394e-05/0.01004, allocations: 43.78 kB / 334.2 MB, free: 6.543 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.01006, allocations: 0 / 334.2 MB, free: 6.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.653e-05/0.0101, allocations: 11.98 kB / 334.2 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.01014, allocations: 11.92 kB / 334.2 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.01015, allocations: 8 kB / 334.2 MB, free: 6.512 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001605/0.01031, allocations: 255 kB / 334.5 MB, free: 6.262 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01031, allocations: 0 / 334.5 MB, free: 6.262 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001657/0.01048, allocations: 35.94 kB / 334.5 MB, free: 6.227 MB / 298.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.000698/0.01118, allocations: 456.2 kB / 335 MB, free: 5.926 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.01133, allocations: 75.89 kB / 335 MB, free: 5.852 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01133, allocations: 0 / 335 MB, free: 5.852 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.729e-05/0.01138, allocations: 27.98 kB / 335.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.01165, allocations: 76.38 kB / 335.1 MB, free: 5.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.01213, allocations: 447.5 kB / 335.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.452e-05/0.01222, allocations: 136.2 kB / 335.7 MB, free: 5.117 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.01225, allocations: 20.5 kB / 335.7 MB, free: 5.098 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01226, allocations: 0 / 335.7 MB, free: 5.098 MB / 298.7 MB Notification: Performance of Templates: time 0.003466/0.01572, allocations: 3.182 MB / 338.9 MB, free: 1.922 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.744797699153423]