Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 99.98 kB / 19.61 MB, free: 2.727 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 194.9 kB / 22.76 MB, free: 5.457 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 251.4 MB, free: 13.39 MB / 206.1 MB [Timeout remaining time 88] 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 44.06 kB / 369.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3362, allocations: 52.14 MB / 421.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003569/0.3398, allocations: 1.92 MB / 423.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.3418, allocations: 1.177 MB / 424.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.3419, allocations: 7.938 kB / 424.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.3422, allocations: 63.66 kB / 424.4 MB, free: 12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.3424, allocations: 99.59 kB / 424.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007458/0.3432, allocations: 261 kB / 424.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.3434, allocations: 183.5 kB / 425 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3435, allocations: 21.55 kB / 425 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.3436, allocations: 83.62 kB / 425.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.3438, allocations: 95.59 kB / 425.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.3438, allocations: 8 kB / 425.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.344, allocations: 67.95 kB / 425.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.573e-05/0.344, allocations: 55.77 kB / 425.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.3442, allocations: 83.41 kB / 425.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.3445, allocations: 240.2 kB / 425.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.3445, allocations: 0 / 425.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.3445, allocations: 0 / 425.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.3445, allocations: 0 / 425.6 MB, free: 10.83 MB / 334.1 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.000785/0.3453, allocations: 0.5581 MB / 426.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.3454, allocations: 11.89 kB / 426.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.118e-05/0.3454, allocations: 28.73 kB / 426.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.3458, allocations: 299.7 kB / 426.5 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.3459, allocations: 4.375 kB / 426.5 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.87e-05/0.3459, allocations: 11.94 kB / 426.5 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.3463, allocations: 191.7 kB / 426.7 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3463, allocations: 0 / 426.7 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.3463, allocations: 4 kB / 426.7 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.3463, allocations: 3.984 kB / 426.7 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.3464, allocations: 39.92 kB / 426.8 MB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005447/0.3469, allocations: 403.1 kB / 427.2 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.3472, allocations: 138.5 kB / 427.3 MB, free: 8.945 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.3473, allocations: 51.42 kB / 427.3 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.3474, allocations: 4 kB / 427.3 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.3475, allocations: 91.31 kB / 427.4 MB, free: 8.777 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.3475, allocations: 0 / 427.4 MB, free: 8.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004065/0.3479, allocations: 169.4 kB / 427.6 MB, free: 8.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.3481, allocations: 192.3 kB / 427.8 MB, free: 8.375 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003764/0.3485, allocations: 338.6 kB / 428.1 MB, free: 8.035 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.3485, allocations: 29.7 kB / 428.1 MB, free: 8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.751e-05/0.3486, allocations: 128.4 kB / 428.3 MB, free: 7.867 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.3486, allocations: 23.95 kB / 428.3 MB, free: 7.844 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/0.3487, allocations: 29.72 kB / 428.3 MB, free: 7.809 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.3488, allocations: 334.8 kB / 428.6 MB, free: 7.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.964e-05/0.3489, allocations: 31.98 kB / 428.7 MB, free: 7.441 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.349, allocations: 104.5 kB / 428.8 MB, free: 7.309 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.3492, allocations: 93.94 kB / 428.9 MB, free: 7.195 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3492, allocations: 4 kB / 428.9 MB, free: 7.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002712/0.3495, allocations: 141.3 kB / 429 MB, free: 7.047 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3495, allocations: 15.31 kB / 429 MB, free: 7.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3495, allocations: 0 / 429 MB, free: 7.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3495, allocations: 7.938 kB / 429 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.3496, allocations: 23.98 kB / 429.1 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3496, allocations: 4 kB / 429.1 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.754e-05/0.3497, allocations: 15.83 kB / 429.1 MB, free: 6.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.3497, allocations: 4 kB / 429.1 MB, free: 6.98 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0002178/0.35, allocations: 162.2 kB / 429.2 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.3501, allocations: 85.48 kB / 429.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002814/0.3504, allocations: 111.7 kB / 429.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.3504, allocations: 4.062 kB / 429.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3504, allocations: 4 kB / 429.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3504, allocations: 7.875 kB / 429.5 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.3506, allocations: 249.5 kB / 429.7 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3506, allocations: 0 / 429.7 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.363e-05/0.3507, allocations: 15.98 kB / 429.7 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.3507, allocations: 4.094 kB / 429.7 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.3507, allocations: 4 kB / 429.7 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3507, allocations: 0 / 429.7 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3507, allocations: 4 kB / 429.7 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.351, allocations: 187.3 kB / 429.9 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.3512, allocations: 124.9 kB / 430 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.3512, allocations: 4 kB / 430 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.379e-05/0.3513, allocations: 11.98 kB / 430 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.3513, allocations: 7.938 kB / 430.1 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.3513, allocations: 7.984 kB / 430.1 MB, free: 5.887 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002583/0.3516, allocations: 241.9 kB / 430.3 MB, free: 5.652 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3516, allocations: 0 / 430.3 MB, free: 5.652 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.3519, allocations: 39.94 kB / 430.3 MB, free: 5.613 MB / 334.1 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 (11): * Single equations (assignments): 9 * 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.001437/0.3533, allocations: 421 kB / 430.7 MB, free: 5.352 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.3535, allocations: 91.77 kB / 430.8 MB, free: 5.262 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3535, allocations: 0 / 430.8 MB, free: 5.262 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.86e-05/0.3536, allocations: 23.98 kB / 430.9 MB, free: 5.238 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.354, allocations: 73.44 kB / 430.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007238/0.3548, allocations: 423.3 kB / 431.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.3552, allocations: 0.7513 MB / 432.1 MB, free: 3.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.3552, allocations: 23.44 kB / 432.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3552, allocations: 4 kB / 432.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of Templates: time 0.005384/0.3606, allocations: 3.107 MB / 435.2 MB, free: 0.8125 MB / 334.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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