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.001233/0.001233, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001453/0.001453, allocations: 163.4 kB / 25.61 MB, free: 8.582 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 1.022/1.022, allocations: 177 MB / 205.9 MB, free: 4.457 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.593e-06/1.593e-06, allocations: 0 / 274.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.218e-05, allocations: 2.312 kB / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002651/0.002673, allocations: 1.956 MB / 276.1 MB, free: 2.328 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.00426, allocations: 1.271 MB / 277.3 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.004388, allocations: 8.562 kB / 277.3 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.004683, allocations: 70.08 kB / 277.4 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.005018, allocations: 139.3 kB / 277.5 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.005514, allocations: 233 kB / 277.8 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.005728, allocations: 187.5 kB / 278 MB, free: 440 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.005831, allocations: 37.62 kB / 278 MB, free: 400 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.00596, allocations: 107.7 kB / 278.1 MB, free: 292 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.673e-05/0.006056, allocations: 76.28 kB / 278.2 MB, free: 216 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.006075, allocations: 12.66 kB / 278.2 MB, free: 204 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.006199, allocations: 67.94 kB / 278.3 MB, free: 136 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.006271, allocations: 59.77 kB / 278.3 MB, free: 76 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.006318, allocations: 43.8 kB / 278.4 MB, free: 32 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.006575, allocations: 191.2 kB / 278.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.006577, allocations: 0 / 278.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.006578, allocations: 0 / 278.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.006582, allocations: 0 / 278.5 MB, free: 15.84 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.0005084/0.00709, allocations: 0.5904 MB / 279.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.007123, allocations: 8.031 kB / 279.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.007174, allocations: 32.8 kB / 279.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.007394, allocations: 232.6 kB / 279.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.007414, allocations: 8.375 kB / 279.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.007424, allocations: 8.312 kB / 279.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.00763, allocations: 172.9 kB / 279.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.007638, allocations: 192 / 279.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.007648, allocations: 4.375 kB / 279.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.007655, allocations: 11.86 kB / 279.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.226e-05/0.007697, allocations: 31.91 kB / 279.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.008022, allocations: 331.4 kB / 280 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.008157, allocations: 140.5 kB / 280.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.198e-05/0.008199, allocations: 46.73 kB / 280.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.008218, allocations: 7.984 kB / 280.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/0.00832, allocations: 88.91 kB / 280.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.008322, allocations: 0 / 280.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002254/0.008547, allocations: 129.4 kB / 280.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.008604, allocations: 136.5 kB / 280.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.008785, allocations: 330.2 kB / 280.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.008809, allocations: 33.7 kB / 280.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.696e-05/0.008886, allocations: 183.1 kB / 281 MB, free: 13.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.008907, allocations: 16.2 kB / 281 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.008943, allocations: 43.31 kB / 281.1 MB, free: 13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.00906, allocations: 0.5118 MB / 281.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.009077, allocations: 4 kB / 281.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.117e-05/0.009118, allocations: 64.69 kB / 281.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.724e-05/0.009165, allocations: 43.34 kB / 281.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.009167, allocations: 0 / 281.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.156e-05/0.009259, allocations: 85.47 kB / 281.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.00927, allocations: 8 kB / 281.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.009275, allocations: 4.062 kB / 281.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.343e-06/0.009282, allocations: 0 / 281.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.333e-05/0.009345, allocations: 15.98 kB / 281.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.009348, allocations: 0 / 281.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.634e-05/0.009385, allocations: 3.953 kB / 281.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.009392, allocations: 8 kB / 281.8 MB, free: 12.21 MB / 266.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 7.888e-05/0.009471, allocations: 160.5 kB / 282 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/0.00953, allocations: 81.42 kB / 282.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.00965, allocations: 103.5 kB / 282.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.009653, allocations: 0 / 282.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.009658, allocations: 8.297 kB / 282.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.009662, allocations: 0 / 282.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.009788, allocations: 161.1 kB / 282.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.00979, allocations: 4 kB / 282.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-05/0.009834, allocations: 19.94 kB / 282.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.009837, allocations: 0 / 282.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.009845, allocations: 7.984 kB / 282.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.009849, allocations: 4.172 kB / 282.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.009851, allocations: 4 kB / 282.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.009969, allocations: 167.3 kB / 282.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.01002, allocations: 31.84 kB / 282.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.01003, allocations: 4 kB / 282.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.412e-05/0.01007, allocations: 11.92 kB / 282.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.01011, allocations: 15.92 kB / 282.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.01012, allocations: 4 kB / 282.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.728e-05/0.01022, allocations: 222.9 kB / 282.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01022, allocations: 0 / 282.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000174/0.01039, allocations: 31.94 kB / 282.8 MB, free: 11.11 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,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.0008366/0.01123, allocations: 392.6 kB / 283.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.01136, allocations: 59.53 kB / 283.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01137, allocations: 3.938 kB / 283.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.327e-05/0.01141, allocations: 27.66 kB / 283.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.01172, allocations: 90.41 kB / 283.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000445/0.01217, allocations: 360.9 kB / 283.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.778e-05/0.01223, allocations: 87.83 kB / 283.8 MB, free: 10.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.1e-05/0.01229, allocations: 30.25 kB / 283.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.0124, allocations: 110.2 kB / 284 MB, free: 10.03 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.0124, allocations: 0 / 284 MB, free: 10.03 MB / 266.7 MB Notification: Performance of Templates: time 0.005178/0.01757, allocations: 3.492 MB / 287.5 MB, free: 6.59 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1460324060171843]