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.001594/0.001594, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.001735/0.001735, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.514/1.514, allocations: 230.2 MB / 255.1 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.001878/0.001878, allocations: 63.89 kB / 374.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1157, allocations: 53.32 MB / 427.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.00348/0.1192, allocations: 1.572 MB / 429.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1204, allocations: 0.5571 MB / 430 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.281e-05/0.1205, allocations: 0 / 430 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.124e-05/0.1206, allocations: 7.922 kB / 430 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.1207, allocations: 15.88 kB / 430 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.1211, allocations: 66.81 kB / 430 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.1212, allocations: 47.78 kB / 430.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1214, allocations: 16.17 kB / 430.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.1215, allocations: 27.86 kB / 430.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.893e-05/0.1216, allocations: 27.84 kB / 430.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.1216, allocations: 4 kB / 430.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.329e-05/0.1216, allocations: 4 kB / 430.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.918e-05/0.1217, allocations: 11.94 kB / 430.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.375e-05/0.1217, allocations: 31.8 kB / 430.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.1219, allocations: 59.67 kB / 430.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1219, allocations: 3.938 kB / 430.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1219, allocations: 4 kB / 430.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.1219, allocations: 0 / 430.3 MB, free: 2.035 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.0005495/0.1225, allocations: 379.1 kB / 430.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1225, allocations: 8.031 kB / 430.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.1227, allocations: 28.86 kB / 430.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.123, allocations: 204.6 kB / 430.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.123, allocations: 8.375 kB / 430.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1231, allocations: 7.938 kB / 430.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.1233, allocations: 101 kB / 431 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1233, allocations: 0 / 431 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.1234, allocations: 0 / 431 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1234, allocations: 0 / 431 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.14e-05/0.1234, allocations: 27.92 kB / 431 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.1238, allocations: 261.8 kB / 431.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.389e-05/0.1239, allocations: 45.2 kB / 431.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.529e-05/0.124, allocations: 21.72 kB / 431.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.124, allocations: 0 / 431.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.124, allocations: 38.55 kB / 431.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.124, allocations: 0 / 431.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002686/0.1243, allocations: 65.58 kB / 431.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.1244, allocations: 85.36 kB / 431.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.1245, allocations: 145.8 kB / 431.7 MB, free: 424 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1245, allocations: 29.7 kB / 431.7 MB, free: 388 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.1246, allocations: 88.12 kB / 431.8 MB, free: 296 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.1246, allocations: 3.953 kB / 431.8 MB, free: 292 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/0.1247, allocations: 17.72 kB / 431.8 MB, free: 268 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.1249, allocations: 314.8 kB / 432.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.213e-05/0.1249, allocations: 7.984 kB / 432.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-05/0.125, allocations: 21.72 kB / 432.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.693e-05/0.1251, allocations: 33.64 kB / 432.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1251, allocations: 0 / 432.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001304/0.1252, allocations: 61.56 kB / 432.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1252, allocations: 12.12 kB / 432.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1252, allocations: 0 / 432.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1252, allocations: 0 / 432.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.005e-05/0.1253, allocations: 8 kB / 432.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1253, allocations: 0 / 432.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.276e-05/0.1253, allocations: 11.92 kB / 432.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1254, allocations: 3.938 kB / 432.3 MB, free: 15.77 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.0001014/0.1255, allocations: 113.8 kB / 432.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.942e-05/0.1255, allocations: 45.64 kB / 432.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.984e-05/0.1256, allocations: 15.81 kB / 432.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1256, allocations: 0 / 432.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1256, allocations: 0 / 432.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.1256, allocations: 7.938 kB / 432.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.1258, allocations: 165.7 kB / 432.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1258, allocations: 3.938 kB / 432.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.677e-05/0.1258, allocations: 7.984 kB / 432.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1258, allocations: 4 kB / 432.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.1258, allocations: 0 / 432.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1258, allocations: 0 / 432.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1258, allocations: 4.031 kB / 432.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.1261, allocations: 156.3 kB / 432.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.896e-05/0.1261, allocations: 93.05 kB / 432.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.1262, allocations: 3.984 kB / 432.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.1262, allocations: 4 kB / 432.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.1263, allocations: 7.969 kB / 432.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.1263, allocations: 0 / 432.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.1264, allocations: 122.2 kB / 433 MB, free: 14.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1264, allocations: 0 / 433 MB, free: 14.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.1267, allocations: 4 kB / 433 MB, free: 14.92 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.0001629/0.1268, allocations: 99.19 kB / 433.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.127, allocations: 20.05 kB / 433.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.127, allocations: 4.062 kB / 433.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.068e-05/0.127, allocations: 11.98 kB / 433.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.1274, allocations: 34.5 kB / 433.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000382/0.1278, allocations: 189.2 kB / 433.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.1282, allocations: 0.6885 MB / 434.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.1282, allocations: 15.59 kB / 434.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1282, allocations: 0 / 434.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of Templates: time 0.002741/0.1309, allocations: 0.7756 MB / 434.8 MB, free: 13.03 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/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_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: 7.085602982901037]