Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001829/0.001829, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001817/0.001817, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.515/1.515, allocations: 230.4 MB / 255.4 MB, free: 15 MB / 206.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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.88 kB / 374.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.12, allocations: 53.31 MB / 428 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003016/0.123, allocations: 1.576 MB / 429.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1241, allocations: 0.5648 MB / 430.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.13e-05/0.1241, allocations: 0 / 430.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.641e-05/0.1242, allocations: 3.938 kB / 430.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.1243, allocations: 19.86 kB / 430.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.1247, allocations: 67.75 kB / 430.3 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.1248, allocations: 43.84 kB / 430.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.91e-05/0.1249, allocations: 12.19 kB / 430.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.125, allocations: 27.84 kB / 430.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.83e-05/0.1251, allocations: 23.86 kB / 430.4 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1251, allocations: 4 kB / 430.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.259e-05/0.1251, allocations: 8 kB / 430.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.97e-05/0.1252, allocations: 15.92 kB / 430.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.1252, allocations: 23.81 kB / 430.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.1254, allocations: 67.67 kB / 430.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1254, allocations: 0 / 430.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1254, allocations: 0 / 430.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1254, allocations: 3.938 kB / 430.5 MB, free: 1.887 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.0005258/0.1259, allocations: 389.6 kB / 430.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1259, allocations: 8.031 kB / 430.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.1261, allocations: 16.89 kB / 430.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.1264, allocations: 215.1 kB / 431.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.854e-06/0.1264, allocations: 384 / 431.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.1264, allocations: 11.94 kB / 431.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.1268, allocations: 101 kB / 431.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1268, allocations: 0 / 431.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1268, allocations: 0 / 431.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.1268, allocations: 8 kB / 431.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.489e-05/0.1269, allocations: 19.92 kB / 431.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.1273, allocations: 261.8 kB / 431.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.1274, allocations: 41.16 kB / 431.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.258e-05/0.1275, allocations: 25.77 kB / 431.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.1275, allocations: 0 / 431.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.1276, allocations: 38.56 kB / 431.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.1276, allocations: 0 / 431.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003014/0.1279, allocations: 69.81 kB / 431.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/0.128, allocations: 85.11 kB / 431.8 MB, free: 424 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.1281, allocations: 145.8 kB / 431.9 MB, free: 268 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.1282, allocations: 25.7 kB / 431.9 MB, free: 236 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.707e-05/0.1282, allocations: 88.14 kB / 432 MB, free: 144 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.1283, allocations: 7.891 kB / 432 MB, free: 136 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.1283, allocations: 13.72 kB / 432 MB, free: 116 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.239/0.3673, allocations: 322.8 kB / 432.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.3674, allocations: 3.75 kB / 432.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.255e-05/0.3674, allocations: 24.88 kB / 432.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.326e-05/0.3675, allocations: 29.91 kB / 432.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3675, allocations: 0 / 432.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001711/0.3677, allocations: 57.88 kB / 432.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.3677, allocations: 5.406 kB / 432.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3677, allocations: 0 / 432.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.508e-05/0.3677, allocations: 2.375 kB / 432.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.291e-05/0.3678, allocations: 5.953 kB / 432.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3678, allocations: 1.25 kB / 432.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.287e-05/0.3679, allocations: 11.62 kB / 432.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.3679, allocations: 4.812 kB / 432.5 MB, free: 11.02 MB / 350.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.0001027/0.368, allocations: 113.8 kB / 432.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.091e-05/0.3681, allocations: 47.56 kB / 432.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/0.3681, allocations: 9.234 kB / 432.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3681, allocations: 0.8125 kB / 432.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.3681, allocations: 4.5 kB / 432.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.3681, allocations: 1.672 kB / 432.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.3683, allocations: 169 kB / 432.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3683, allocations: 2.125 kB / 432.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.455e-05/0.3684, allocations: 6.094 kB / 432.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3684, allocations: 1.719 kB / 432.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.3684, allocations: 5.094 kB / 432.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3684, allocations: 4.688 kB / 432.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3684, allocations: 4.875 kB / 432.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.3685, allocations: 154.3 kB / 433 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.3686, allocations: 92.2 kB / 433.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.3686, allocations: 6.188 kB / 433.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.934e-05/0.3687, allocations: 6.344 kB / 433.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.3687, allocations: 2.781 kB / 433.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.3687, allocations: 1.875 kB / 433.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.997e-05/0.3688, allocations: 112.9 kB / 433.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3688, allocations: 0.8125 kB / 433.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.3691, allocations: 8.625 kB / 433.2 MB, free: 10.36 MB / 350.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.861e-05/0.3692, allocations: 102.2 kB / 433.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001681/0.3694, allocations: 25.28 kB / 433.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3694, allocations: 0 / 433.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.039e-05/0.3694, allocations: 10.61 kB / 433.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.3698, allocations: 18.08 kB / 433.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/0.3701, allocations: 190.5 kB / 433.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.3703, allocations: 0.6891 MB / 434.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.3703, allocations: 14.77 kB / 434.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3703, allocations: 3.469 kB / 434.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of Templates: time 0.002683/0.373, allocations: 0.7799 MB / 435.1 MB, free: 9.402 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.9221024960279465]