Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 187.8 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] 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.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 48.05 kB / 370.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3414, allocations: 52.18 MB / 423.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.00322/0.3446, allocations: 1.585 MB / 424.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009655/0.3456, allocations: 0.4909 MB / 425.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.311e-05/0.3456, allocations: 0 / 425.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.266e-05/0.3457, allocations: 11.86 kB / 425.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.3458, allocations: 7.938 kB / 425.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.3461, allocations: 47.83 kB / 425.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.3462, allocations: 55.78 kB / 425.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.3463, allocations: 12.17 kB / 425.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-05/0.3464, allocations: 23.86 kB / 425.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.402e-05/0.3465, allocations: 23.86 kB / 425.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.3465, allocations: 4 kB / 425.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.3465, allocations: 0 / 425.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.508e-05/0.3466, allocations: 19.92 kB / 425.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.321e-05/0.3466, allocations: 27.8 kB / 425.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.3467, allocations: 53.3 kB / 425.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3468, allocations: 0 / 425.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3468, allocations: 4 kB / 425.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3468, allocations: 0 / 425.5 MB, free: 12.47 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000535/0.3473, allocations: 309.9 kB / 425.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3473, allocations: 8.031 kB / 425.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.3474, allocations: 8.891 kB / 425.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.3477, allocations: 146.3 kB / 425.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.3477, allocations: 4.375 kB / 425.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.3477, allocations: 4.375 kB / 425.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.348, allocations: 113.1 kB / 426 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.348, allocations: 0 / 426 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.348, allocations: 0 / 426 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.348, allocations: 0 / 426 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.363e-05/0.3481, allocations: 19.98 kB / 426.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.3484, allocations: 236.8 kB / 426.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.465e-05/0.3485, allocations: 49.14 kB / 426.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.3486, allocations: 13.78 kB / 426.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3486, allocations: 7.984 kB / 426.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.3486, allocations: 38.5 kB / 426.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3486, allocations: 0 / 426.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002668/0.3489, allocations: 69.56 kB / 426.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.967e-05/0.349, allocations: 85.05 kB / 426.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.3491, allocations: 140.7 kB / 426.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.3491, allocations: 25.7 kB / 426.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.3492, allocations: 96.12 kB / 426.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.3492, allocations: 3.984 kB / 426.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.3492, allocations: 17.67 kB / 426.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3494, allocations: 318.8 kB / 427.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.283e-05/0.3494, allocations: 7.984 kB / 427.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.578e-05/0.3495, allocations: 25.72 kB / 427.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.651e-05/0.3496, allocations: 33.64 kB / 427.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3496, allocations: 4 kB / 427.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001248/0.3497, allocations: 53.67 kB / 427.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3497, allocations: 7.438 kB / 427.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3497, allocations: 4.125 kB / 427.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3497, allocations: 4 kB / 427.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.421e-05/0.3498, allocations: 7.938 kB / 427.3 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3498, allocations: 0 / 427.3 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.79e-05/0.3498, allocations: 3.984 kB / 427.3 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3498, allocations: 4 kB / 427.3 MB, free: 10.41 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 9.863e-05/0.3499, allocations: 121.7 kB / 427.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-05/0.35, allocations: 41.64 kB / 427.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.35, allocations: 15.84 kB / 427.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.35, allocations: 0 / 427.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3501, allocations: 0 / 427.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3501, allocations: 0 / 427.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.3502, allocations: 144.6 kB / 427.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3502, allocations: 0 / 427.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.104e-05/0.3503, allocations: 11.98 kB / 427.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3503, allocations: 0 / 427.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.3503, allocations: 0 / 427.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.3503, allocations: 7.938 kB / 427.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3503, allocations: 0 / 427.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.3505, allocations: 152.3 kB / 427.8 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.3505, allocations: 23.88 kB / 427.8 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.3505, allocations: 0 / 427.8 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-05/0.3506, allocations: 4 kB / 427.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.3506, allocations: 11.86 kB / 427.8 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.3506, allocations: 4.031 kB / 427.8 MB, free: 9.809 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.4e-05/0.3507, allocations: 111.2 kB / 427.9 MB, free: 9.699 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3507, allocations: 0 / 427.9 MB, free: 9.699 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.3509, allocations: 7.984 kB / 427.9 MB, free: 9.691 MB / 334.1 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 9.312e-05/0.351, allocations: 95.25 kB / 428 MB, free: 9.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.3512, allocations: 23.92 kB / 428.1 MB, free: 9.566 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3512, allocations: 0 / 428.1 MB, free: 9.566 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.186e-05/0.3512, allocations: 12.12 kB / 428.1 MB, free: 9.555 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.3516, allocations: 27.39 kB / 428.1 MB, free: 9.531 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003638/0.3519, allocations: 159.7 kB / 428.2 MB, free: 9.344 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.3523, allocations: 0.6922 MB / 428.9 MB, free: 8.625 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.529e-05/0.3523, allocations: 8.141 kB / 428.9 MB, free: 8.617 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.3524, allocations: 15.44 kB / 429 MB, free: 8.602 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3524, allocations: 0 / 429 MB, free: 8.602 MB / 334.1 MB Notification: Performance of Templates: time 0.003308/0.3557, allocations: 0.5792 MB / 429.5 MB, free: 8.031 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.662112702615559]