Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.002023/0.002023, allocations: 119.6 kB / 18.41 MB, free: 4.688 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.002186/0.002186, allocations: 192.3 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.467/1.467, allocations: 222.9 MB / 247 MB, free: 4.215 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 51.91 kB / 358.7 MB, free: 8.34 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.11, allocations: 49.44 MB / 408.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003193/0.1132, allocations: 1.547 MB / 409.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009398/0.1142, allocations: 466.7 kB / 410.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.717e-05/0.1143, allocations: 3.938 kB / 410.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.015e-05/0.1144, allocations: 11.92 kB / 410.1 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.1145, allocations: 15.92 kB / 410.1 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.1148, allocations: 43.83 kB / 410.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.1149, allocations: 43.84 kB / 410.2 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.988e-05/0.115, allocations: 12 kB / 410.2 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.069e-05/0.1151, allocations: 27.84 kB / 410.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.153e-05/0.1152, allocations: 27.86 kB / 410.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.1152, allocations: 4 kB / 410.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.589e-05/0.1152, allocations: 4 kB / 410.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.1153, allocations: 7.938 kB / 410.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.1154, allocations: 31.8 kB / 410.3 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.1155, allocations: 47.75 kB / 410.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.1155, allocations: 7.984 kB / 410.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1155, allocations: 0 / 410.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1155, allocations: 0 / 410.4 MB, free: 4.559 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.0005706/0.1161, allocations: 383 kB / 410.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1162, allocations: 12.03 kB / 410.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.1162, allocations: 8.891 kB / 410.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.1165, allocations: 192.2 kB / 411 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1165, allocations: 4.375 kB / 411 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.1165, allocations: 4.375 kB / 411 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.1168, allocations: 121.3 kB / 411.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1168, allocations: 0 / 411.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1169, allocations: 4 kB / 411.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1169, allocations: 0 / 411.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.262e-05/0.117, allocations: 19.92 kB / 411.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.1173, allocations: 273.6 kB / 411.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.434e-05/0.1175, allocations: 49.16 kB / 411.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.602e-05/0.1175, allocations: 17.77 kB / 411.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1176, allocations: 0 / 411.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.1176, allocations: 38.56 kB / 411.5 MB, free: 3.266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.1176, allocations: 4 kB / 411.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002613/0.1179, allocations: 61.61 kB / 411.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.349e-05/0.118, allocations: 85.05 kB / 411.6 MB, free: 3.094 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.1181, allocations: 145 kB / 411.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1181, allocations: 25.7 kB / 411.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.1182, allocations: 88.14 kB / 411.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.1182, allocations: 12.19 kB / 411.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.1183, allocations: 13.67 kB / 411.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1185, allocations: 322.8 kB / 412.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.099e-05/0.1185, allocations: 4 kB / 412.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.64e-05/0.1186, allocations: 21.7 kB / 412.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.943e-05/0.1186, allocations: 37.64 kB / 412.3 MB, free: 2.391 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1187, allocations: 0 / 412.3 MB, free: 2.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001246/0.1188, allocations: 53.62 kB / 412.3 MB, free: 2.332 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1188, allocations: 8 kB / 412.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1188, allocations: 0 / 412.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1188, allocations: 0 / 412.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.607e-05/0.1189, allocations: 7.984 kB / 412.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1189, allocations: 0 / 412.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.497e-05/0.119, allocations: 8.062 kB / 412.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.119, allocations: 0 / 412.4 MB, free: 2.309 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 0.0001042/0.1191, allocations: 117.8 kB / 412.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.5e-05/0.1192, allocations: 45.64 kB / 412.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.1192, allocations: 7.875 kB / 412.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1192, allocations: 0 / 412.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1192, allocations: 0 / 412.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.1192, allocations: 4 kB / 412.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.1194, allocations: 173.5 kB / 412.7 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1195, allocations: 4.031 kB / 412.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.1195, allocations: 7.984 kB / 412.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1195, allocations: 0 / 412.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1195, allocations: 4 kB / 412.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1195, allocations: 0 / 412.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1195, allocations: 0 / 412.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.1197, allocations: 168.3 kB / 412.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-05/0.1198, allocations: 93.03 kB / 413 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.1198, allocations: 0 / 413 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.302e-05/0.1199, allocations: 12 kB / 413 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.12, allocations: 0 / 413 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.12, allocations: 0 / 413 MB, free: 1.578 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.322e-05/0.1201, allocations: 113.6 kB / 413.1 MB, free: 1.469 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.154e-06/0.1201, allocations: 0 / 413.1 MB, free: 1.469 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.1203, allocations: 11.94 kB / 413.1 MB, free: 1.457 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.0001047/0.1204, allocations: 99.75 kB / 413.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.1206, allocations: 27.92 kB / 413.2 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1206, allocations: 0 / 413.2 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.102e-05/0.1207, allocations: 7.984 kB / 413.2 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.0003399/0.121, allocations: 19.91 kB / 413.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.1214, allocations: 197.4 kB / 413.4 MB, free: 1.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.1218, allocations: 0.6883 MB / 414.1 MB, free: 364 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.1218, allocations: 11.42 kB / 414.1 MB, free: 352 kB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1218, allocations: 0 / 414.1 MB, free: 352 kB / 334.1 MB Notification: Performance of Templates: time 0.002425/0.1243, allocations: 0.7171 MB / 414.9 MB, free: 15.62 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.047320041107014]