Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.00171/0.00171, allocations: 100 kB / 21.18 MB, free: 0.6484 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.001907/0.001907, allocations: 185.9 kB / 24.45 MB, free: 3.961 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.557/1.557, allocations: 225.7 MB / 253.3 MB, free: 12.82 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.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 51.92 kB / 371.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3345, allocations: 52.18 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003487/0.3379, allocations: 1.585 MB / 425.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.339, allocations: 458.8 kB / 425.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.312e-05/0.3391, allocations: 7.938 kB / 425.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.818e-05/0.3391, allocations: 7.922 kB / 425.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.3393, allocations: 11.92 kB / 425.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.3396, allocations: 47.83 kB / 425.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.3398, allocations: 47.8 kB / 426 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.3399, allocations: 12.17 kB / 426 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.161e-05/0.3399, allocations: 27.84 kB / 426 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.427e-05/0.34, allocations: 23.86 kB / 426 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.34, allocations: 4 kB / 426 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.3401, allocations: 0 / 426 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.877e-05/0.3401, allocations: 19.94 kB / 426.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.952e-05/0.3402, allocations: 19.86 kB / 426.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.3403, allocations: 58.36 kB / 426.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3403, allocations: 3.984 kB / 426.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3403, allocations: 0 / 426.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3403, allocations: 0 / 426.1 MB, free: 12.15 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.0005578/0.3409, allocations: 302 kB / 426.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3409, allocations: 8.031 kB / 426.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.341, allocations: 12.89 kB / 426.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.3413, allocations: 158.2 kB / 426.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3413, allocations: 12.31 kB / 426.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.3413, allocations: 4.375 kB / 426.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.3416, allocations: 118 kB / 426.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.3416, allocations: 0 / 426.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.3416, allocations: 0 / 426.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3416, allocations: 0 / 426.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.669e-05/0.3417, allocations: 31.91 kB / 426.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.3421, allocations: 214.3 kB / 427 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.3422, allocations: 71.72 kB / 427.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.769e-05/0.3422, allocations: 30.62 kB / 427.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.3423, allocations: 0 / 427.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.3423, allocations: 38.5 kB / 427.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3423, allocations: 0 / 427.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002892/0.3426, allocations: 89.56 kB / 427.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.165e-05/0.3427, allocations: 106.8 kB / 427.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.3428, allocations: 140.4 kB / 427.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.3428, allocations: 25.7 kB / 427.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/0.3429, allocations: 92.14 kB / 427.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.3429, allocations: 7.938 kB / 427.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.343, allocations: 17.72 kB / 427.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002676/0.3432, allocations: 318.8 kB / 427.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-05/0.3433, allocations: 16.36 kB / 427.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.571e-05/0.3434, allocations: 31.42 kB / 428 MB, free: 10.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.3435, allocations: 51.36 kB / 428 MB, free: 10.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.3435, allocations: 3.938 kB / 428 MB, free: 10.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001488/0.3436, allocations: 69.67 kB / 428.1 MB, free: 9.973 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3436, allocations: 4 kB / 428.1 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3436, allocations: 4 kB / 428.1 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3437, allocations: 3.984 kB / 428.1 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.3438, allocations: 8 kB / 428.1 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3438, allocations: 0 / 428.1 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.585e-05/0.3438, allocations: 7.938 kB / 428.1 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.3438, allocations: 3.938 kB / 428.1 MB, free: 9.941 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 0.000101/0.3439, allocations: 129.7 kB / 428.2 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.239e-05/0.344, allocations: 57.67 kB / 428.3 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.3441, allocations: 7.969 kB / 428.3 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3441, allocations: 0 / 428.3 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3441, allocations: 4 kB / 428.3 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3441, allocations: 0 / 428.3 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.3442, allocations: 125.2 kB / 428.4 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3442, allocations: 4 kB / 428.4 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.779e-05/0.3443, allocations: 8 kB / 428.4 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3443, allocations: 3.938 kB / 428.4 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3443, allocations: 4 kB / 428.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3443, allocations: 0 / 428.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3443, allocations: 8.062 kB / 428.4 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.3445, allocations: 177.1 kB / 428.6 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.3446, allocations: 23.88 kB / 428.6 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.3446, allocations: 0 / 428.6 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.3447, allocations: 7.984 kB / 428.7 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.3447, allocations: 0 / 428.7 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.3447, allocations: 4 kB / 428.7 MB, free: 9.316 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.803e-05/0.3448, allocations: 107.2 kB / 428.8 MB, free: 9.211 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3448, allocations: 0 / 428.8 MB, free: 9.211 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.345, allocations: 8 kB / 428.8 MB, free: 9.203 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 0.0001086/0.3451, allocations: 99.25 kB / 428.9 MB, free: 9.098 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.3453, allocations: 31.92 kB / 428.9 MB, free: 9.066 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3453, allocations: 0 / 428.9 MB, free: 9.066 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.771e-05/0.3453, allocations: 7.984 kB / 428.9 MB, free: 9.059 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.3457, allocations: 35.39 kB / 428.9 MB, free: 9.027 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004527/0.3461, allocations: 211 kB / 429.1 MB, free: 8.781 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.3462, allocations: 83.19 kB / 429.2 MB, free: 8.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.3463, allocations: 11.42 kB / 429.2 MB, free: 8.668 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3463, allocations: 0 / 429.2 MB, free: 8.668 MB / 334.1 MB Notification: Performance of Templates: time 0.002688/0.349, allocations: 0.864 MB / 430.1 MB, free: 7.809 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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: 6.923518370836973]