Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.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.001136/0.001136, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001149/0.001149, allocations: 165.3 kB / 24.99 MB, free: 8.336 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 0.985/0.985, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 273 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.926e-05, allocations: 2.312 kB / 273 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.005841/0.00586, allocations: 1.946 MB / 275 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.007577, allocations: 1.246 MB / 276.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003123/0.0107, allocations: 7.938 kB / 276.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.01096, allocations: 63.66 kB / 276.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.01126, allocations: 139.3 kB / 276.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.01173, allocations: 219.1 kB / 276.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.01194, allocations: 191.4 kB / 276.8 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.97e-05/0.01204, allocations: 29.78 kB / 276.9 MB, free: 14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.01216, allocations: 91.8 kB / 277 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.01226, allocations: 79.72 kB / 277 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.01229, allocations: 8 kB / 277 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.01242, allocations: 71.88 kB / 277.1 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.264e-05/0.01249, allocations: 51.78 kB / 277.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.315e-05/0.01255, allocations: 43.84 kB / 277.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.01283, allocations: 191.2 kB / 277.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.01283, allocations: 0 / 277.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.01283, allocations: 8 kB / 277.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.197e-06/0.01283, allocations: 0 / 277.4 MB, free: 13.47 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005604/0.01339, allocations: 0.5633 MB / 278 MB, free: 12.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.01343, allocations: 12.03 kB / 278 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.834e-05/0.01348, allocations: 24.8 kB / 278 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003287/0.01677, allocations: 227.6 kB / 278.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.01679, allocations: 8.375 kB / 278.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.01681, allocations: 4.375 kB / 278.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.0171, allocations: 190.7 kB / 278.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.01711, allocations: 3.938 kB / 278.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.01712, allocations: 4 kB / 278.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.01713, allocations: 7.938 kB / 278.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.788e-05/0.01718, allocations: 19.92 kB / 278.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.01761, allocations: 374.9 kB / 278.8 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.01776, allocations: 125.3 kB / 279 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.01781, allocations: 39.05 kB / 279 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.01783, allocations: 4 kB / 279 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/0.01794, allocations: 73.05 kB / 279.1 MB, free: 11.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.01794, allocations: 3.938 kB / 279.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002659/0.0182, allocations: 129.4 kB / 279.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.01828, allocations: 136.8 kB / 279.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.01857, allocations: 324.3 kB / 279.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.01858, allocations: 29.7 kB / 279.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.01869, allocations: 186.8 kB / 279.9 MB, free: 10.74 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.01871, allocations: 11.91 kB / 279.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.01876, allocations: 35.36 kB / 279.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.01892, allocations: 0.504 MB / 280.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.975e-05/0.01895, allocations: 8 kB / 280.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.249e-05/0.01902, allocations: 110.1 kB / 280.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.361e-05/0.01909, allocations: 47.34 kB / 280.6 MB, free: 9.969 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.0191, allocations: 0 / 280.6 MB, free: 9.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000136/0.01923, allocations: 93.47 kB / 280.7 MB, free: 9.871 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.01925, allocations: 6.5 kB / 280.7 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.01925, allocations: 0 / 280.7 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.01927, allocations: 4 kB / 280.7 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.162e-05/0.01935, allocations: 8 kB / 280.7 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.01936, allocations: 0 / 280.7 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003055/0.02241, allocations: 11.92 kB / 280.7 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.02242, allocations: 8 kB / 280.7 MB, free: 9.836 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.536e-05/0.02252, allocations: 169.3 kB / 280.9 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.02259, allocations: 65.55 kB / 280.9 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.02276, allocations: 107.4 kB / 281 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.02276, allocations: 0 / 281 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.02276, allocations: 4.25 kB / 281 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.02277, allocations: 4 kB / 281 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.02301, allocations: 196.5 kB / 281.2 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.02301, allocations: 7.984 kB / 281.2 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.933e-05/0.02306, allocations: 8 kB / 281.2 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.02307, allocations: 8.062 kB / 281.3 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.02308, allocations: 0 / 281.3 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.02308, allocations: 0 / 281.3 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.02308, allocations: 7.984 kB / 281.3 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.02325, allocations: 167.5 kB / 281.4 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.02331, allocations: 31.84 kB / 281.5 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.02334, allocations: 4 kB / 281.5 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.375e-05/0.02338, allocations: 11.98 kB / 281.5 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.02343, allocations: 11.92 kB / 281.5 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.02345, allocations: 4 kB / 281.5 MB, free: 8.953 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001616/0.02361, allocations: 233.1 kB / 281.7 MB, free: 8.727 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02361, allocations: 0 / 281.7 MB, free: 8.727 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002454/0.02386, allocations: 27.94 kB / 281.7 MB, free: 8.699 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,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 (10): * Single equations (assignments): 8 * 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.001039/0.02489, allocations: 409.7 kB / 282.1 MB, free: 8.438 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.02504, allocations: 55.59 kB / 282.2 MB, free: 8.379 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02504, allocations: 0 / 282.2 MB, free: 8.379 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.231e-05/0.02509, allocations: 27.67 kB / 282.2 MB, free: 8.348 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003361/0.02845, allocations: 70.22 kB / 282.3 MB, free: 8.281 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005853/0.02904, allocations: 345.2 kB / 282.6 MB, free: 7.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.353e-05/0.0291, allocations: 80.23 kB / 282.7 MB, free: 7.812 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.808e-05/0.02916, allocations: 25.73 kB / 282.7 MB, free: 7.789 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.185e-05/0.02921, allocations: 24.5 kB / 282.8 MB, free: 7.766 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02921, allocations: 0 / 282.8 MB, free: 7.766 MB / 266.7 MB Notification: Performance of Templates: time 0.01239/0.0416, allocations: 3.058 MB / 285.8 MB, free: 4.746 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.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: 2.9750994241330773]