Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002267/0.002267, allocations: 164.1 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 177.2 MB / 204.9 MB, free: 9.07 MB / 190.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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 50.64 kB / 325.6 MB, free: 300 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1051, allocations: 53.34 MB / 378.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003088/0.1082, allocations: 1.577 MB / 380.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1093, allocations: 0.4909 MB / 381 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.749e-05/0.1094, allocations: 4 kB / 381 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.724e-05/0.1094, allocations: 7.875 kB / 381 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.1095, allocations: 11.92 kB / 381 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.1099, allocations: 55.81 kB / 381 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.11, allocations: 55.78 kB / 381.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.431e-05/0.11, allocations: 12.12 kB / 381.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.1102, allocations: 31.86 kB / 381.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.768e-05/0.1102, allocations: 23.84 kB / 381.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.1102, allocations: 4 kB / 381.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.661e-05/0.1103, allocations: 4 kB / 381.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.1103, allocations: 15.92 kB / 381.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.1104, allocations: 19.88 kB / 381.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.1105, allocations: 67.61 kB / 381.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1105, allocations: 0 / 381.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1105, allocations: 4 kB / 381.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1105, allocations: 0 / 381.3 MB, free: 13.35 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.0004557/0.111, allocations: 302 kB / 381.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.111, allocations: 8.031 kB / 381.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.1112, allocations: 20.88 kB / 381.6 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.1114, allocations: 142.3 kB / 381.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1114, allocations: 4.375 kB / 381.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.1114, allocations: 4.312 kB / 381.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.1117, allocations: 117.2 kB / 381.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1117, allocations: 0 / 381.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.1117, allocations: 0 / 381.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1117, allocations: 0 / 381.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.698e-05/0.1118, allocations: 19.98 kB / 381.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/0.1121, allocations: 205.4 kB / 382.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.857e-05/0.1122, allocations: 53.2 kB / 382.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.875e-05/0.1122, allocations: 17.72 kB / 382.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.1122, allocations: 0 / 382.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.1123, allocations: 46.48 kB / 382.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 2.685e-06/0.1123, allocations: 3.984 kB / 382.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002324/0.1125, allocations: 61.58 kB / 382.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.792e-05/0.1126, allocations: 85.09 kB / 382.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.1127, allocations: 138.1 kB / 382.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1127, allocations: 29.7 kB / 382.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.1128, allocations: 92.12 kB / 382.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.1128, allocations: 3.953 kB / 382.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.1128, allocations: 17.72 kB / 382.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.113, allocations: 314.8 kB / 382.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.294e-05/0.113, allocations: 7.984 kB / 382.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.175e-05/0.1131, allocations: 17.72 kB / 382.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.14e-05/0.1131, allocations: 37.7 kB / 383 MB, free: 11.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1131, allocations: 3.938 kB / 383 MB, free: 11.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001321/0.1133, allocations: 61.62 kB / 383 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1133, allocations: 8 kB / 383.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1133, allocations: 3.938 kB / 383.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1133, allocations: 0 / 383.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.407e-05/0.1134, allocations: 7.938 kB / 383.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.1134, allocations: 0 / 383.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.157e-05/0.1134, allocations: 7.984 kB / 383.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.1134, allocations: 4.062 kB / 383.1 MB, free: 11.33 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 8.856e-05/0.1135, allocations: 121.8 kB / 383.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/0.1136, allocations: 33.66 kB / 383.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.1136, allocations: 15.8 kB / 383.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1136, allocations: 0 / 383.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1136, allocations: 7.938 kB / 383.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1136, allocations: 0 / 383.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.1138, allocations: 117.2 kB / 383.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1138, allocations: 0 / 383.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.703e-05/0.1138, allocations: 7.984 kB / 383.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1138, allocations: 8.031 kB / 383.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.1138, allocations: 0 / 383.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1138, allocations: 3.938 kB / 383.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1138, allocations: 0 / 383.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.114, allocations: 164.3 kB / 383.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.1141, allocations: 15.95 kB / 383.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.1141, allocations: 3.984 kB / 383.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-05/0.1141, allocations: 0 / 383.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.1142, allocations: 4 kB / 383.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1142, allocations: 4.031 kB / 383.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.175e-05/0.1143, allocations: 110.2 kB / 383.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1143, allocations: 4 kB / 383.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.1145, allocations: 4 kB / 383.7 MB, free: 10.65 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 8.566e-05/0.1146, allocations: 91.25 kB / 383.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.1147, allocations: 27.92 kB / 383.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1147, allocations: 0 / 383.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.45e-05/0.1148, allocations: 16.11 kB / 383.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.1151, allocations: 11.97 kB / 383.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.1154, allocations: 171.4 kB / 384 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.268e-05/0.1155, allocations: 75.33 kB / 384.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.024e-05/0.1155, allocations: 7.984 kB / 384.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.1155, allocations: 8.5 kB / 384.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1155, allocations: 4.094 kB / 384.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of Templates: time 0.002918/0.1184, allocations: 0.5746 MB / 384.7 MB, free: 9.625 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.460701616015285]