Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.001837/0.001837, allocations: 120.5 kB / 18.41 MB, free: 4.68 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.002018/0.002018, allocations: 190.7 kB / 21.35 MB, free: 1.75 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.596/1.596, allocations: 222.9 MB / 247.1 MB, free: 4.211 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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 51.92 kB / 358.7 MB, free: 8.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1056, allocations: 49.43 MB / 408.1 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002898/0.1085, allocations: 1.499 MB / 409.6 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000396/0.109, allocations: 135.5 kB / 409.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.44e-05/0.1091, allocations: 4 kB / 409.7 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.802e-05/0.1091, allocations: 7.938 kB / 409.7 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.1093, allocations: 7.922 kB / 409.7 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.1095, allocations: 39.91 kB / 409.8 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.342e-05/0.1096, allocations: 31.86 kB / 409.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1097, allocations: 7.984 kB / 409.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.259e-05/0.1098, allocations: 11.94 kB / 409.8 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.956e-05/0.1098, allocations: 15.92 kB / 409.8 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.1098, allocations: 0 / 409.8 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.1098, allocations: 4 kB / 409.8 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.1099, allocations: 8 kB / 409.9 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.11, allocations: 27.8 kB / 409.9 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.1101, allocations: 35.77 kB / 409.9 MB, free: 5.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1101, allocations: 0 / 409.9 MB, free: 5.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1101, allocations: 0 / 409.9 MB, free: 5.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1101, allocations: 0 / 409.9 MB, free: 5.051 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005104/0.1106, allocations: 371.2 kB / 410.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1107, allocations: 8.031 kB / 410.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.1107, allocations: 8.891 kB / 410.3 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.111, allocations: 200.1 kB / 410.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.111, allocations: 4.375 kB / 410.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.1111, allocations: 384 / 410.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.1113, allocations: 89.61 kB / 410.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1114, allocations: 192 / 410.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1114, allocations: 11.94 kB / 410.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1114, allocations: 0 / 410.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.324e-05/0.1115, allocations: 15.97 kB / 410.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.1118, allocations: 261.7 kB / 410.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.39e-05/0.1119, allocations: 49.08 kB / 410.9 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.112, allocations: 21.78 kB / 410.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.112, allocations: 3.984 kB / 410.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1121, allocations: 34.5 kB / 411 MB, free: 3.801 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1121, allocations: 0 / 411 MB, free: 3.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002359/0.1123, allocations: 65.8 kB / 411 MB, free: 3.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.1124, allocations: 81.11 kB / 411.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.1125, allocations: 135.6 kB / 411.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1125, allocations: 25.7 kB / 411.3 MB, free: 3.457 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.795e-05/0.1126, allocations: 88.14 kB / 411.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.089e-05/0.1126, allocations: 3.953 kB / 411.4 MB, free: 3.363 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.1127, allocations: 17.72 kB / 411.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1128, allocations: 318.9 kB / 411.7 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.026e-05/0.1129, allocations: 4 kB / 411.7 MB, free: 3.016 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/0.1129, allocations: 25.7 kB / 411.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.354e-05/0.113, allocations: 21.66 kB / 411.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.113, allocations: 0 / 411.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001077/0.1131, allocations: 61.67 kB / 411.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1131, allocations: 5.875 kB / 411.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1131, allocations: 0 / 411.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1132, allocations: 4 kB / 411.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.547e-05/0.1132, allocations: 7.938 kB / 411.8 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1132, allocations: 0 / 411.8 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.739e-05/0.1133, allocations: 3.984 kB / 411.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.1133, allocations: 8 kB / 411.8 MB, free: 2.863 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: 2 (step.y,sample1.y) * 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.389e-05/0.1134, allocations: 125.8 kB / 412 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.244e-05/0.1134, allocations: 37.66 kB / 412 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.1135, allocations: 11.86 kB / 412 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1135, allocations: 0 / 412 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1135, allocations: 4 kB / 412 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1135, allocations: 0 / 412 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.1137, allocations: 169.6 kB / 412.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1137, allocations: 0 / 412.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.692e-05/0.1138, allocations: 7.984 kB / 412.2 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1138, allocations: 0 / 412.2 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.1138, allocations: 8.031 kB / 412.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1138, allocations: 3.938 kB / 412.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1138, allocations: 0 / 412.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.114, allocations: 152.3 kB / 412.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.627e-05/0.114, allocations: 93.05 kB / 412.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.1141, allocations: 4.031 kB / 412.4 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.426e-05/0.1141, allocations: 7.984 kB / 412.4 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.1142, allocations: 3.938 kB / 412.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.1142, allocations: 4 kB / 412.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.55e-05/0.1143, allocations: 101.9 kB / 412.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1143, allocations: 0 / 412.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.1145, allocations: 4 kB / 412.6 MB, free: 2.035 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: 2 (step.y,sample1.y) * 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.0001099/0.1146, allocations: 103.7 kB / 412.7 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.1148, allocations: 31.92 kB / 412.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1148, allocations: 0 / 412.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.49e-05/0.1148, allocations: 4 kB / 412.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.1151, allocations: 19.95 kB / 412.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.1155, allocations: 164 kB / 412.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.1158, allocations: 0.6925 MB / 413.6 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.1159, allocations: 11.44 kB / 413.6 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1159, allocations: 0 / 413.6 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of Templates: time 0.002404/0.1183, allocations: 0.6404 MB / 414.2 MB, free: 312 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.079112674924545]