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.00101/0.00101, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001099/0.001099, allocations: 168.1 kB / 24.82 MB, free: 9.203 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.9995/0.9995, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.423e-06/1.423e-06, allocations: 0 / 273.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.961e-05, allocations: 6.312 kB / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.00196/0.00198, allocations: 1.602 MB / 275 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007265/0.002706, allocations: 0.5452 MB / 275.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.348e-05/0.002779, allocations: 3.938 kB / 275.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/0.00282, allocations: 3.938 kB / 275.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.002942, allocations: 7.938 kB / 275.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.003214, allocations: 67.62 kB / 275.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.052e-05/0.003304, allocations: 55.77 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.954e-05/0.003384, allocations: 8.188 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.003499, allocations: 35.89 kB / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.123e-05/0.00354, allocations: 11.98 kB / 275.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.003556, allocations: 11.94 kB / 275.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.727e-05/0.003593, allocations: 4 kB / 275.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.003628, allocations: 11.94 kB / 275.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.003649, allocations: 23.91 kB / 275.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.003758, allocations: 39.83 kB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.003763, allocations: 4 kB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.003764, allocations: 0 / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.003768, allocations: 0 / 275.8 MB, free: 14.88 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.0003296/0.004097, allocations: 412.2 kB / 276.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.004136, allocations: 12.03 kB / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.004241, allocations: 20.88 kB / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.00438, allocations: 152.9 kB / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-06/0.004387, allocations: 4.375 kB / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.004396, allocations: 4.375 kB / 276.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.004558, allocations: 121.3 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.004566, allocations: 4 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.004573, allocations: 7.984 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.004578, allocations: 0 / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.466e-05/0.004593, allocations: 7.984 kB / 276.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.004794, allocations: 240.1 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.357e-05/0.004838, allocations: 50.12 kB / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.005015, allocations: 19.48 kB / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.005033, allocations: 7.938 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.005057, allocations: 45.33 kB / 276.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.005058, allocations: 0 / 276.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.000126/0.005184, allocations: 49.59 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.00522, allocations: 85.09 kB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.814e-05/0.005309, allocations: 192.9 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.005318, allocations: 25.7 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.005366, allocations: 146.8 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.005379, allocations: 0 / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.005406, allocations: 19.38 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.00551, allocations: 0.4883 MB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.00552, allocations: 4 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.687e-06/0.005529, allocations: 4.25 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.105e-05/0.00555, allocations: 15.67 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.005553, allocations: 3.938 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.679e-05/0.005599, allocations: 41.59 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.005611, allocations: 4 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.005615, allocations: 4 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.005627, allocations: 0 / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.493e-05/0.005682, allocations: 0 / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.005685, allocations: 3.984 kB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.607e-05/0.005702, allocations: 4 kB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.005706, allocations: 4.094 kB / 278 MB, free: 12.46 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.56e-05/0.005771, allocations: 156.5 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.005809, allocations: 41.59 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.005838, allocations: 15.8 kB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.00584, allocations: 0 / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.005841, allocations: 0 / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.005844, allocations: 0 / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.492e-05/0.005939, allocations: 105.2 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.005941, allocations: 4 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.125e-05/0.005962, allocations: 4 kB / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.005966, allocations: 7.969 kB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-06/0.00597, allocations: 0 / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.005971, allocations: 0 / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005971, allocations: 0 / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.006073, allocations: 199.6 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.006099, allocations: 19.81 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.006108, allocations: 4 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.126e-05/0.00614, allocations: 0 / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.00616, allocations: 0 / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.006163, allocations: 4 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.916e-05/0.006212, allocations: 154.2 kB / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006212, allocations: 0 / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001396/0.006352, allocations: 4 kB / 278.7 MB, free: 11.7 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.633e-05/0.006428, allocations: 99.19 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.303e-05/0.006481, allocations: 15.62 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.006483, allocations: 0 / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.247e-05/0.006495, allocations: 11.62 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.006716, allocations: 34.06 kB / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/0.007094, allocations: 173.3 kB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.601e-05/0.00713, allocations: 59.34 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.509e-05/0.007155, allocations: 4 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.007211, allocations: 82.19 kB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of SimCode: time 9.31e-07/0.007212, allocations: 0 / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of Templates: time 0.002224/0.009436, allocations: 0.696 MB / 279.9 MB, free: 10.48 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.6864705407060683]