Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.0009684/0.0009684, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001278/0.001278, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9574/0.9574, allocations: 177.1 MB / 205 MB, free: 5.629 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.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.706e-05, allocations: 2.312 kB / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002156/0.002173, allocations: 1.626 MB / 274.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008694/0.003043, allocations: 0.5452 MB / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.056e-05/0.003123, allocations: 0 / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.435e-05/0.003178, allocations: 11.86 kB / 275.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.003316, allocations: 11.88 kB / 275.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.003611, allocations: 67.61 kB / 275.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.978e-05/0.003711, allocations: 47.86 kB / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.789e-05/0.003799, allocations: 8.172 kB / 275.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.003917, allocations: 39.89 kB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.615e-05/0.003964, allocations: 15.92 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.00398, allocations: 8 kB / 275.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.602e-05/0.004016, allocations: 4 kB / 275.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.77e-05/0.004054, allocations: 11.94 kB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/0.004081, allocations: 23.91 kB / 275.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.004206, allocations: 47.77 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004208, allocations: 0 / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004208, allocations: 0 / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.004212, allocations: 0 / 275.4 MB, free: 15.09 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004077/0.00462, allocations: 412.2 kB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.004655, allocations: 8.031 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.004781, allocations: 24.88 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.004954, allocations: 148.9 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.004964, allocations: 384 / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.004975, allocations: 4.375 kB / 276 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.005202, allocations: 125.3 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.005213, allocations: 3.938 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.005224, allocations: 4 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.005232, allocations: 4 kB / 276.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.184e-05/0.005253, allocations: 7.984 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.005517, allocations: 263.5 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.232e-05/0.005579, allocations: 62.06 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.005603, allocations: 15.38 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.005617, allocations: 0 / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.00564, allocations: 37.45 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.005641, allocations: 0 / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001622/0.005803, allocations: 57.8 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.005846, allocations: 81.05 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.00596, allocations: 200.9 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.005972, allocations: 25.7 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.006026, allocations: 142.8 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.25e-05/0.006038, allocations: 0 / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.00607, allocations: 19.38 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.006196, allocations: 0.4922 MB / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.145e-05/0.006207, allocations: 0 / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-06/0.006216, allocations: 4 kB / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.352e-05/0.006239, allocations: 11.78 kB / 277.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.006243, allocations: 4 kB / 277.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.139e-05/0.006304, allocations: 41.59 kB / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.006318, allocations: 7.984 kB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.006322, allocations: 4 kB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.006334, allocations: 0 / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.372e-05/0.006388, allocations: 0 / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.006392, allocations: 0 / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.001e-05/0.006412, allocations: 4 kB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.006419, allocations: 0 / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.642e-05/0.006485, allocations: 168.5 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.00653, allocations: 41.64 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.006557, allocations: 11.81 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.006559, allocations: 3.984 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.006563, allocations: 0 / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.006565, allocations: 0 / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.006691, allocations: 132.5 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.006692, allocations: 0 / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.346e-05/0.006715, allocations: 7.938 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.006717, allocations: 0 / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.006727, allocations: 12.03 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.006729, allocations: 0 / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.00673, allocations: 0 / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.00684, allocations: 199.5 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.006869, allocations: 19.94 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.00688, allocations: 0 / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.663e-05/0.006927, allocations: 0 / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.006956, allocations: 4 kB / 278.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.006959, allocations: 0 / 278.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.32e-05/0.007022, allocations: 151.2 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007022, allocations: 7.969 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002119/0.007234, allocations: 4 kB / 278.4 MB, free: 11.83 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 7.638e-05/0.00731, allocations: 99.19 kB / 278.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.392e-05/0.007384, allocations: 11.69 kB / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.007386, allocations: 0 / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.692e-05/0.007403, allocations: 11.67 kB / 278.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.007697, allocations: 20.25 kB / 278.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004523/0.008149, allocations: 173.5 kB / 278.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.423e-05/0.008194, allocations: 63.34 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.393e-05/0.008218, allocations: 7.984 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.008244, allocations: 8.5 kB / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.008244, allocations: 0 / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of Templates: time 0.002443/0.01069, allocations: 0.6663 MB / 279.4 MB, free: 10.72 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/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.685421725269407]