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.001466/0.001466, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001455/0.001455, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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 1.469/1.469, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.474e-06/2.474e-06, allocations: 0.6562 kB / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.721e-05/2.969e-05, allocations: 5.375 kB / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002723/0.002753, allocations: 1.572 MB / 326.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.003962, allocations: 0.5283 MB / 327.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.879e-05/0.004061, allocations: 6.094 kB / 327.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.333e-05/0.004124, allocations: 9.422 kB / 327.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.004281, allocations: 15.89 kB / 327.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.004649, allocations: 63.16 kB / 327.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.00478, allocations: 49.14 kB / 327.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.004889, allocations: 14.48 kB / 327.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.005073, allocations: 40.69 kB / 327.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.005134, allocations: 10.64 kB / 327.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.005158, allocations: 6.234 kB / 327.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.623e-05/0.005204, allocations: 5.781 kB / 327.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.029e-05/0.005265, allocations: 15.09 kB / 327.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.005301, allocations: 15.25 kB / 327.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.005455, allocations: 59.8 kB / 327.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.005459, allocations: 0 / 327.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.00546, allocations: 0 / 327.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.005464, allocations: 0 / 327.5 MB, free: 14.98 MB / 302.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.0005027/0.005966, allocations: 314.7 kB / 327.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.006004, allocations: 9.984 kB / 327.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.006164, allocations: 16.8 kB / 327.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.006396, allocations: 145.1 kB / 327.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.006411, allocations: 6.594 kB / 327.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.006423, allocations: 3.406 kB / 327.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.006758, allocations: 113.3 kB / 328.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.006771, allocations: 1.625 kB / 328.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.00678, allocations: 0 / 328.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.006786, allocations: 1.031 kB / 328.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.048e-05/0.006867, allocations: 18.95 kB / 328.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.007186, allocations: 205.9 kB / 328.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.007291, allocations: 47.28 kB / 328.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.154e-05/0.007342, allocations: 21.78 kB / 328.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.007363, allocations: 4.562 kB / 328.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.007399, allocations: 37.06 kB / 328.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.007401, allocations: 0 / 328.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002744/0.007675, allocations: 68.12 kB / 328.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/0.007765, allocations: 78.14 kB / 328.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.007933, allocations: 152.2 kB / 328.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.007951, allocations: 25.7 kB / 328.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/0.008027, allocations: 88.78 kB / 328.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.008042, allocations: 9.234 kB / 328.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.008086, allocations: 17.38 kB / 328.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.008283, allocations: 318.3 kB / 329.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.627e-05/0.008329, allocations: 11.06 kB / 329.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.224e-05/0.008361, allocations: 5.75 kB / 329.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.664e-05/0.008438, allocations: 21.23 kB / 329.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.008439, allocations: 1.406 kB / 329.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001339/0.008573, allocations: 55.06 kB / 329.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.008589, allocations: 9.875 kB / 329.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.008596, allocations: 0.7031 kB / 329.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.008611, allocations: 0 / 329.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.367e-05/0.008684, allocations: 5.406 kB / 329.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.008691, allocations: 0.7031 kB / 329.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.213e-05/0.008724, allocations: 2.188 kB / 329.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.008735, allocations: 5.344 kB / 329.2 MB, free: 13.31 MB / 302.1 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 0.0001185/0.008854, allocations: 119.6 kB / 329.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-05/0.008922, allocations: 42.81 kB / 329.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/0.008958, allocations: 16.33 kB / 329.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.008961, allocations: 1.656 kB / 329.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.008966, allocations: 5.062 kB / 329.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.00897, allocations: 0 / 329.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.009158, allocations: 121.6 kB / 329.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.009159, allocations: 0 / 329.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.009205, allocations: 6.938 kB / 329.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.009208, allocations: 1.344 kB / 329.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.009218, allocations: 0.75 kB / 329.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.009221, allocations: 1.469 kB / 329.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.009222, allocations: 4.75 kB / 329.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.009442, allocations: 158.2 kB / 329.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.00949, allocations: 21.2 kB / 329.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.00951, allocations: 2.156 kB / 329.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.997e-05/0.00958, allocations: 2.172 kB / 329.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.009625, allocations: 6.344 kB / 329.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.00963, allocations: 5.312 kB / 329.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.009745, allocations: 112.5 kB / 329.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.009745, allocations: 0 / 329.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000235/0.00998, allocations: 7.906 kB / 329.9 MB, free: 12.75 MB / 302.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 0.000124/0.0101, allocations: 104.2 kB / 330 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.01023, allocations: 15.45 kB / 330 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.01023, allocations: 5.438 kB / 330 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.156e-05/0.01027, allocations: 10.28 kB / 330 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.01063, allocations: 29.09 kB / 330 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.01099, allocations: 163.9 kB / 330.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.76e-05/0.01108, allocations: 76.66 kB / 330.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.177e-05/0.01111, allocations: 3.016 kB / 330.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.01114, allocations: 10.72 kB / 330.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01114, allocations: 0 / 330.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of Templates: time 0.003733/0.01488, allocations: 0.6224 MB / 330.9 MB, free: 12.32 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.290541987866163]