Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 162.9 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.045/1.045, allocations: 177.1 MB / 205.3 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 273 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.753e-05/3.971e-05, allocations: 4.844 kB / 273 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002965/0.003005, allocations: 1.971 MB / 275 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.004819, allocations: 1.274 MB / 276.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/0.00502, allocations: 3.938 kB / 276.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003411/0.005361, allocations: 75.53 kB / 276.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000394/0.005755, allocations: 135.3 kB / 276.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006925/0.006448, allocations: 235.1 kB / 276.7 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.006718, allocations: 195.4 kB / 276.9 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.006866, allocations: 21.73 kB / 276.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.00703, allocations: 111.7 kB / 277.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.00715, allocations: 75.78 kB / 277.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.007172, allocations: 8 kB / 277.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.007341, allocations: 75.94 kB / 277.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.451e-05/0.007426, allocations: 55.78 kB / 277.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.437e-05/0.00749, allocations: 43.84 kB / 277.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004804/0.007971, allocations: 203.1 kB / 277.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.007978, allocations: 0 / 277.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.00798, allocations: 0 / 277.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.007995, allocations: 0 / 277.5 MB, free: 13.36 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.0007439/0.008739, allocations: 0.5827 MB / 278.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.008786, allocations: 8.031 kB / 278.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.235e-05/0.008858, allocations: 32.8 kB / 278.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.009142, allocations: 236.6 kB / 278.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.009166, allocations: 8.375 kB / 278.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.009183, allocations: 8.375 kB / 278.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/0.009514, allocations: 218.2 kB / 278.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.009525, allocations: 3.938 kB / 278.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.009539, allocations: 8 kB / 278.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.009547, allocations: 4 kB / 278.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.757e-05/0.009604, allocations: 23.92 kB / 278.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.01004, allocations: 382.6 kB / 279 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.01021, allocations: 152.4 kB / 279.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.687e-05/0.01026, allocations: 58.73 kB / 279.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.01029, allocations: 4 kB / 279.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.0104, allocations: 76.97 kB / 279.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.01041, allocations: 4 kB / 279.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002542/0.01066, allocations: 145.3 kB / 279.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.914e-05/0.01074, allocations: 162.2 kB / 279.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.01096, allocations: 338.3 kB / 279.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.01098, allocations: 30.08 kB / 280 MB, free: 10.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.977e-05/0.01107, allocations: 187.1 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.0111, allocations: 11.91 kB / 280.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.01114, allocations: 39.31 kB / 280.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.01128, allocations: 0.5079 MB / 280.7 MB, free: 9.832 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.42e-05/0.0113, allocations: 4 kB / 280.7 MB, free: 9.828 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.344e-05/0.01137, allocations: 106.2 kB / 280.8 MB, free: 9.695 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.154e-05/0.01143, allocations: 47.3 kB / 280.8 MB, free: 9.641 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01143, allocations: 0 / 280.8 MB, free: 9.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001012/0.01153, allocations: 89.55 kB / 280.9 MB, free: 9.547 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.01154, allocations: 10.66 kB / 280.9 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01155, allocations: 4 kB / 280.9 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.01156, allocations: 0 / 280.9 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.434e-05/0.01165, allocations: 11.98 kB / 281 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.01165, allocations: 4 kB / 281 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.783e-05/0.01169, allocations: 4 kB / 281 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.0117, allocations: 4 kB / 281 MB, free: 9.512 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 9.096e-05/0.01179, allocations: 169.3 kB / 281.1 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/0.01186, allocations: 81.55 kB / 281.2 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.01201, allocations: 103.5 kB / 281.3 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01201, allocations: 0 / 281.3 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.01201, allocations: 4 kB / 281.3 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.01202, allocations: 3.984 kB / 281.3 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.01216, allocations: 200.7 kB / 281.5 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01217, allocations: 4 kB / 281.5 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.01221, allocations: 23.92 kB / 281.5 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.01221, allocations: 0 / 281.5 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.01222, allocations: 4 kB / 281.6 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01223, allocations: 4.031 kB / 281.6 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.01223, allocations: 7.938 kB / 281.6 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.01239, allocations: 183.3 kB / 281.7 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/0.01244, allocations: 43.84 kB / 281.8 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.01247, allocations: 11.98 kB / 281.8 MB, free: 8.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.294e-05/0.0125, allocations: 7.938 kB / 281.8 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.01255, allocations: 7.984 kB / 281.8 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.01256, allocations: 8 kB / 281.8 MB, free: 8.566 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001367/0.0127, allocations: 227 kB / 282 MB, free: 8.344 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0127, allocations: 0 / 282 MB, free: 8.344 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001781/0.01288, allocations: 47.88 kB / 282.1 MB, free: 8.297 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.0009191/0.0138, allocations: 400.7 kB / 282.5 MB, free: 8.039 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.01393, allocations: 59.59 kB / 282.5 MB, free: 7.977 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01393, allocations: 0 / 282.5 MB, free: 7.977 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.359e-05/0.01398, allocations: 35.66 kB / 282.6 MB, free: 7.938 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.01427, allocations: 84.86 kB / 282.7 MB, free: 7.859 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/0.01471, allocations: 368.9 kB / 283 MB, free: 7.461 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.039e-05/0.01476, allocations: 87.97 kB / 283.1 MB, free: 7.355 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.078e-05/0.01481, allocations: 21.98 kB / 283.1 MB, free: 7.336 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.01486, allocations: 24.48 kB / 283.1 MB, free: 7.312 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01486, allocations: 0 / 283.1 MB, free: 7.312 MB / 266.7 MB Notification: Performance of Templates: time 0.005134/0.01999, allocations: 3.266 MB / 286.4 MB, free: 4.102 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.115438812179491]