Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001644/0.001644, allocations: 118.6 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001754/0.001754, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.553/1.553, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 67.88 kB / 373.8 MB, free: 9.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1172, allocations: 53.32 MB / 427.1 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003442/0.1206, allocations: 1.572 MB / 428.7 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1218, allocations: 0.5571 MB / 429.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.137e-05/0.1219, allocations: 11.88 kB / 429.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.989e-05/0.1219, allocations: 3.938 kB / 429.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.1221, allocations: 23.86 kB / 429.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.1224, allocations: 55.81 kB / 429.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.1225, allocations: 47.78 kB / 429.4 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1226, allocations: 20.17 kB / 429.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.1228, allocations: 27.86 kB / 429.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.663e-05/0.1228, allocations: 23.86 kB / 429.5 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.1229, allocations: 4 kB / 429.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.085e-05/0.1229, allocations: 4 kB / 429.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.085e-05/0.1229, allocations: 15.92 kB / 429.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.248e-05/0.123, allocations: 31.8 kB / 429.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.1231, allocations: 59.67 kB / 429.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1231, allocations: 0 / 429.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1231, allocations: 0 / 429.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1232, allocations: 0 / 429.6 MB, free: 2.051 MB / 350.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.0005731/0.1237, allocations: 391 kB / 430 MB, free: 1.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1238, allocations: 8.031 kB / 430 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.1239, allocations: 16.89 kB / 430 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.1243, allocations: 211.1 kB / 430.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1243, allocations: 4.375 kB / 430.2 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.1243, allocations: 7.938 kB / 430.2 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.1246, allocations: 109 kB / 430.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1246, allocations: 0 / 430.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1246, allocations: 0 / 430.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1246, allocations: 0 / 430.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.721e-05/0.1247, allocations: 15.98 kB / 430.3 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.1251, allocations: 273.7 kB / 430.6 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.1253, allocations: 41.22 kB / 430.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.601e-05/0.1253, allocations: 21.75 kB / 430.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.1253, allocations: 4 kB / 430.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.1254, allocations: 42.5 kB / 430.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1254, allocations: 0 / 430.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002665/0.1256, allocations: 65.56 kB / 430.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.559e-05/0.1257, allocations: 81.11 kB / 430.8 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.1259, allocations: 145.8 kB / 431 MB, free: 432 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.1259, allocations: 29.95 kB / 431 MB, free: 396 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.973e-05/0.126, allocations: 88.14 kB / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.126, allocations: 3.953 kB / 431.1 MB, free: 300 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.1261, allocations: 17.72 kB / 431.1 MB, free: 276 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.1263, allocations: 318.8 kB / 431.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.132e-05/0.1263, allocations: 8 kB / 431.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.238e-05/0.1263, allocations: 21.64 kB / 431.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.353e-05/0.1264, allocations: 37.7 kB / 431.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1264, allocations: 0 / 431.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001152/0.1265, allocations: 53.64 kB / 431.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1266, allocations: 8 kB / 431.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1266, allocations: 0 / 431.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1266, allocations: 0 / 431.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.384e-05/0.1267, allocations: 15.98 kB / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1267, allocations: 0 / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.695e-05/0.1267, allocations: 7.938 kB / 431.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.1267, allocations: 0 / 431.6 MB, free: 15.78 MB / 366.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 0.0001005/0.1268, allocations: 121.8 kB / 431.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/0.1269, allocations: 37.66 kB / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.1269, allocations: 11.88 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1269, allocations: 0 / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1269, allocations: 0 / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1269, allocations: 7.969 kB / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.1271, allocations: 173.6 kB / 431.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1271, allocations: 0 / 431.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.1271, allocations: 4 kB / 431.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1271, allocations: 0 / 431.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1271, allocations: 8 kB / 431.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1272, allocations: 3.938 kB / 431.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1272, allocations: 0 / 431.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.1273, allocations: 168.3 kB / 432.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.507e-05/0.1274, allocations: 89.05 kB / 432.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.1274, allocations: 0 / 432.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.459e-05/0.1275, allocations: 4 kB / 432.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.1275, allocations: 7.938 kB / 432.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.1275, allocations: 0 / 432.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.828e-05/0.1276, allocations: 114.2 kB / 432.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1276, allocations: 4.031 kB / 432.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002071/0.1278, allocations: 4 kB / 432.3 MB, free: 14.93 MB / 366.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.0001158/0.1279, allocations: 103.2 kB / 432.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.1281, allocations: 23.92 kB / 432.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1281, allocations: 0 / 432.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.878e-05/0.1281, allocations: 8 kB / 432.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.1284, allocations: 30.83 kB / 432.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/0.1288, allocations: 170 kB / 432.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.1292, allocations: 0.6885 MB / 433.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.721e-05/0.1292, allocations: 0 / 433.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.1292, allocations: 11.44 kB / 433.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1292, allocations: 0 / 433.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of Templates: time 0.00315/0.1324, allocations: 0.5744 MB / 433.9 MB, free: 13.28 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.47662702947855]