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.001492/0.001492, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 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.001693/0.001693, allocations: 215.4 kB / 24.48 MB, free: 3.941 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 2.21/2.21, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.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.0021/0.0021, allocations: 55.91 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4026, allocations: 53.37 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003936/0.4066, allocations: 1.563 MB / 433.9 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.408, allocations: 0.5025 MB / 434.4 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.4081, allocations: 0 / 434.4 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.83e-05/0.4082, allocations: 11.86 kB / 434.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.4084, allocations: 11.92 kB / 434.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.4088, allocations: 51.83 kB / 434.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.4089, allocations: 55.78 kB / 434.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.4091, allocations: 16.16 kB / 434.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.4092, allocations: 27.92 kB / 434.6 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.697e-05/0.4093, allocations: 27.8 kB / 434.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.4093, allocations: 0 / 434.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.042e-05/0.4094, allocations: 12 kB / 434.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.733e-05/0.4094, allocations: 15.92 kB / 434.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.4095, allocations: 11.88 kB / 434.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.4097, allocations: 66.34 kB / 434.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.4097, allocations: 0 / 434.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4097, allocations: 8 kB / 434.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.4097, allocations: 0 / 434.7 MB, free: 4.355 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.0006719/0.4104, allocations: 305.9 kB / 435 MB, free: 4.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.4104, allocations: 12.03 kB / 435 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002177/0.4106, allocations: 16.88 kB / 435 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.411, allocations: 137 kB / 435.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.4111, allocations: 4.312 kB / 435.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.4111, allocations: 8.375 kB / 435.2 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.4115, allocations: 109.2 kB / 435.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.4115, allocations: 3.938 kB / 435.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.4115, allocations: 0 / 435.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.4115, allocations: 0 / 435.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.4116, allocations: 19.98 kB / 435.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.412, allocations: 209.4 kB / 435.5 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.4122, allocations: 53.08 kB / 435.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.451e-05/0.4123, allocations: 17.78 kB / 435.6 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.4123, allocations: 4 kB / 435.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.4123, allocations: 38.48 kB / 435.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.4123, allocations: 0 / 435.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003344/0.4127, allocations: 61.64 kB / 435.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/0.4127, allocations: 89.03 kB / 435.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.4129, allocations: 137.8 kB / 435.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.413, allocations: 29.95 kB / 435.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/0.413, allocations: 92.06 kB / 436 MB, free: 2.855 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.4131, allocations: 7.953 kB / 436 MB, free: 2.848 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.4131, allocations: 17.72 kB / 436 MB, free: 2.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.4133, allocations: 310.8 kB / 436.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-05/0.4133, allocations: 11.98 kB / 436.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.814e-05/0.4134, allocations: 17.72 kB / 436.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.4135, allocations: 33.7 kB / 436.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.4135, allocations: 7.938 kB / 436.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001814/0.4137, allocations: 61.62 kB / 436.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4137, allocations: 4 kB / 436.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.4137, allocations: 0 / 436.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.4137, allocations: 4 kB / 436.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.908e-05/0.4138, allocations: 4 kB / 436.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.4138, allocations: 3.984 kB / 436.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.4139, allocations: 7.922 kB / 436.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.4139, allocations: 8.062 kB / 436.5 MB, free: 2.332 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.0001174/0.414, allocations: 117.8 kB / 436.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.19e-05/0.4141, allocations: 37.66 kB / 436.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.456e-05/0.4141, allocations: 19.75 kB / 436.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.4142, allocations: 0 / 436.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4142, allocations: 0 / 436.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.4142, allocations: 0 / 436.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.4144, allocations: 129.2 kB / 436.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4144, allocations: 0 / 436.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.231e-05/0.4144, allocations: 7.984 kB / 436.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.4144, allocations: 4.031 kB / 436.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.4145, allocations: 0 / 436.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4145, allocations: 0 / 436.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.4145, allocations: 4 kB / 436.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.4147, allocations: 164.2 kB / 437 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.4148, allocations: 11.95 kB / 437 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.4148, allocations: 3.984 kB / 437 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.175e-05/0.4149, allocations: 4 kB / 437 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.4149, allocations: 0 / 437 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.4149, allocations: 4.031 kB / 437 MB, free: 1.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.415, allocations: 114 kB / 437.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.415, allocations: 0 / 437.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003436/0.4154, allocations: 4 kB / 437.1 MB, free: 1.656 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.0001204/0.4155, allocations: 99.25 kB / 437.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.4157, allocations: 19.92 kB / 437.2 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.4157, allocations: 4 kB / 437.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.671e-05/0.4157, allocations: 16.11 kB / 437.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.4162, allocations: 19.91 kB / 437.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.4166, allocations: 163.7 kB / 437.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.923e-05/0.4167, allocations: 71.33 kB / 437.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.798e-05/0.4168, allocations: 11.97 kB / 437.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.4168, allocations: 7.438 kB / 437.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4168, allocations: 4 kB / 437.5 MB, free: 1.188 MB / 334.1 MB Notification: Performance of Templates: time 0.004035/0.4209, allocations: 0.6129 MB / 438.1 MB, free: 0.5938 MB / 334.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 cvode -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: 5.80549096899631]