Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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: 114.6 kB / 18.4 MB, free: 4.773 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.00173/0.001731, allocations: 190.7 kB / 21.34 MB, free: 1.844 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.519/1.519, allocations: 222.9 MB / 247 MB, free: 4.227 MB / 190.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.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 55.91 kB / 358.6 MB, free: 8.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.112, allocations: 49.44 MB / 408.1 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.00298/0.115, allocations: 1.551 MB / 409.6 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009618/0.116, allocations: 490.7 kB / 410.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.17e-05/0.1161, allocations: 7.938 kB / 410.1 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.042e-05/0.1162, allocations: 3.938 kB / 410.1 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.1163, allocations: 7.922 kB / 410.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.1166, allocations: 55.81 kB / 410.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.1167, allocations: 43.8 kB / 410.2 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1168, allocations: 20.17 kB / 410.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.771e-05/0.1169, allocations: 23.86 kB / 410.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.836e-05/0.117, allocations: 27.84 kB / 410.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.117, allocations: 0 / 410.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.474e-05/0.117, allocations: 4 kB / 410.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.63e-05/0.1171, allocations: 15.94 kB / 410.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.748e-05/0.1172, allocations: 31.8 kB / 410.3 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.1173, allocations: 51.69 kB / 410.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1173, allocations: 4 kB / 410.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1173, allocations: 0 / 410.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.1173, allocations: 0 / 410.4 MB, free: 4.566 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.0005503/0.1179, allocations: 391 kB / 410.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1179, allocations: 8.031 kB / 410.8 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.118, allocations: 12.88 kB / 410.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.1183, allocations: 196.1 kB / 411 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.1183, allocations: 12.31 kB / 411 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.1183, allocations: 4.375 kB / 411 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.1186, allocations: 117.1 kB / 411.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1187, allocations: 0 / 411.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1187, allocations: 0 / 411.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1187, allocations: 0 / 411.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.44e-05/0.1188, allocations: 23.98 kB / 411.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.1191, allocations: 261.7 kB / 411.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.49e-05/0.1192, allocations: 41.22 kB / 411.4 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.59e-05/0.1193, allocations: 33.64 kB / 411.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.1193, allocations: 0 / 411.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.1194, allocations: 34.56 kB / 411.5 MB, free: 3.266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.1194, allocations: 0 / 411.5 MB, free: 3.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002744/0.1197, allocations: 69.56 kB / 411.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.1197, allocations: 77.36 kB / 411.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.1199, allocations: 148.7 kB / 411.8 MB, free: 2.945 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1199, allocations: 25.7 kB / 411.8 MB, free: 2.914 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.284e-05/0.12, allocations: 88.14 kB / 411.9 MB, free: 2.824 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.12, allocations: 4 kB / 411.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.12, allocations: 13.67 kB / 411.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1202, allocations: 326.8 kB / 412.2 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-05/0.1202, allocations: 4 kB / 412.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.556e-05/0.1203, allocations: 25.7 kB / 412.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.758e-05/0.1204, allocations: 33.64 kB / 412.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1204, allocations: 0 / 412.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001298/0.1205, allocations: 53.62 kB / 412.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1206, allocations: 12.12 kB / 412.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.1206, allocations: 0 / 412.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1206, allocations: 0 / 412.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.45e-05/0.1207, allocations: 7.984 kB / 412.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1207, allocations: 0 / 412.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.1207, allocations: 4 kB / 412.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1207, allocations: 0 / 412.4 MB, free: 2.316 MB / 334.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 9.186e-05/0.1208, allocations: 117.8 kB / 412.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-05/0.1209, allocations: 41.64 kB / 412.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.566e-05/0.121, allocations: 15.91 kB / 412.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.121, allocations: 3.938 kB / 412.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.121, allocations: 0 / 412.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.121, allocations: 4 kB / 412.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.1212, allocations: 173.5 kB / 412.7 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1212, allocations: 0 / 412.7 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.972e-05/0.1212, allocations: 15.92 kB / 412.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1213, allocations: 0 / 412.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1213, allocations: 4 kB / 412.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1213, allocations: 0 / 412.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1213, allocations: 4 kB / 412.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.1215, allocations: 156.3 kB / 412.9 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.435e-05/0.1216, allocations: 93.05 kB / 413 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.1216, allocations: 0 / 413 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.1217, allocations: 4 kB / 413 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.1217, allocations: 0 / 413 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1217, allocations: 7.969 kB / 413 MB, free: 1.582 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.422e-05/0.1218, allocations: 117.6 kB / 413.1 MB, free: 1.469 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1218, allocations: 0 / 413.1 MB, free: 1.469 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.122, allocations: 4 kB / 413.1 MB, free: 1.465 MB / 334.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.0001169/0.1221, allocations: 107.7 kB / 413.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.1223, allocations: 15.98 kB / 413.3 MB, free: 1.336 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.1223, allocations: 4.125 kB / 413.3 MB, free: 1.332 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.299e-05/0.1224, allocations: 15.98 kB / 413.3 MB, free: 1.316 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.1227, allocations: 23.89 kB / 413.3 MB, free: 1.293 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/0.1231, allocations: 189.1 kB / 413.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.1234, allocations: 0.6922 MB / 414.2 MB, free: 364 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.1235, allocations: 7.594 kB / 414.2 MB, free: 356 kB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1235, allocations: 4 kB / 414.2 MB, free: 352 kB / 334.1 MB Notification: Performance of Templates: time 0.002594/0.1261, allocations: 0.7656 MB / 414.9 MB, free: 15.59 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.1486805939348415]