Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.0009005/0.0009005, allocations: 85.17 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0008421/0.0008421, allocations: 149.6 kB / 24.9 MB, free: 8.695 MB / 18.57 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 0.9753/0.9753, allocations: 173.3 MB / 201.5 MB, free: 9.207 MB / 186.7 MB " [Timeout remaining time 179] 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 268.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.923e-05, allocations: 2.312 kB / 268.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002011/0.00203, allocations: 1.639 MB / 270.1 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00071/0.00274, allocations: 0.4945 MB / 270.6 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.602e-05/0.002806, allocations: 3.938 kB / 270.6 MB, free: 4.016 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.959e-05/0.002845, allocations: 7.938 kB / 270.6 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.002964, allocations: 15.86 kB / 270.7 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.003155, allocations: 51.7 kB / 270.7 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.058e-05/0.003235, allocations: 47.84 kB / 270.8 MB, free: 3.895 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.558e-05/0.003301, allocations: 15.97 kB / 270.8 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.463e-05/0.003366, allocations: 27.92 kB / 270.8 MB, free: 3.852 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.128e-05/0.003407, allocations: 7.984 kB / 270.8 MB, free: 3.844 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.003421, allocations: 4 kB / 270.8 MB, free: 3.84 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-06/0.003429, allocations: 3.938 kB / 270.8 MB, free: 3.836 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.347e-05/0.003462, allocations: 15.97 kB / 270.8 MB, free: 3.82 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.675e-05/0.003479, allocations: 19.94 kB / 270.8 MB, free: 3.801 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.397e-05/0.003563, allocations: 43.77 kB / 270.9 MB, free: 3.758 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003565, allocations: 0 / 270.9 MB, free: 3.758 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003566, allocations: 0 / 270.9 MB, free: 3.758 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.003569, allocations: 0 / 270.9 MB, free: 3.758 MB / 250.7 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.0002566/0.003826, allocations: 272.6 kB / 271.2 MB, free: 3.469 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.003856, allocations: 12.92 kB / 271.2 MB, free: 3.457 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.368e-05/0.00388, allocations: 8.922 kB / 271.2 MB, free: 3.449 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.004017, allocations: 144.7 kB / 271.3 MB, free: 3.285 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.631e-06/0.004023, allocations: 4.375 kB / 271.3 MB, free: 3.281 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.311e-06/0.004029, allocations: 4.375 kB / 271.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.004168, allocations: 106.3 kB / 271.4 MB, free: 3.152 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.004174, allocations: 192 / 271.4 MB, free: 3.152 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.119e-06/0.004179, allocations: 384 / 271.4 MB, free: 3.152 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.004184, allocations: 3.938 kB / 271.4 MB, free: 3.148 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.458e-05/0.004198, allocations: 11.94 kB / 271.4 MB, free: 3.137 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.004336, allocations: 153.2 kB / 271.6 MB, free: 2.969 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.633e-05/0.004372, allocations: 41.14 kB / 271.6 MB, free: 2.91 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.004388, allocations: 13.72 kB / 271.6 MB, free: 2.891 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.004399, allocations: 8.062 kB / 271.7 MB, free: 2.883 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.004414, allocations: 30.56 kB / 271.7 MB, free: 2.844 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.004414, allocations: 0 / 271.7 MB, free: 2.844 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 8.982e-05/0.004504, allocations: 49.56 kB / 271.7 MB, free: 2.789 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.004538, allocations: 77.11 kB / 271.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.557e-05/0.004604, allocations: 146.6 kB / 272 MB, free: 2.539 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.004612, allocations: 29.95 kB / 272 MB, free: 2.504 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.583e-05/0.004638, allocations: 84.14 kB / 272.1 MB, free: 2.418 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.06e-05/0.004649, allocations: 0 / 272.1 MB, free: 2.418 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.004671, allocations: 17.67 kB / 272.1 MB, free: 2.395 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.606e-05/0.004737, allocations: 318.8 kB / 272.4 MB, free: 2.074 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.561e-06/0.004742, allocations: 0 / 272.4 MB, free: 2.074 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-06/0.004748, allocations: 4 kB / 272.4 MB, free: 2.07 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.532e-05/0.004763, allocations: 4.859 kB / 272.4 MB, free: 2.062 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.004765, allocations: 3.938 kB / 272.4 MB, free: 2.059 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.781e-05/0.004803, allocations: 45.75 kB / 272.5 MB, free: 2.008 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.004812, allocations: 4 kB / 272.5 MB, free: 2.004 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.004816, allocations: 3.938 kB / 272.5 MB, free: 2 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.004828, allocations: 3.938 kB / 272.5 MB, free: 1.996 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.546e-05/0.004873, allocations: 4 kB / 272.5 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.004875, allocations: 0 / 272.5 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.292e-05/0.004888, allocations: 0 / 272.5 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.004892, allocations: 4 kB / 272.5 MB, free: 1.988 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 4.726e-05/0.00494, allocations: 112.7 kB / 272.6 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.004966, allocations: 33.7 kB / 272.6 MB, free: 1.828 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.934e-05/0.004986, allocations: 11.88 kB / 272.6 MB, free: 1.816 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.738e-06/0.00499, allocations: 7.922 kB / 272.6 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.004991, allocations: 0 / 272.6 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.004993, allocations: 4 kB / 272.6 MB, free: 1.805 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.294e-05/0.005066, allocations: 69.89 kB / 272.7 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.005067, allocations: 0 / 272.7 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.706e-05/0.005084, allocations: 7.984 kB / 272.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.005085, allocations: 0 / 272.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-06/0.005089, allocations: 0 / 272.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.00509, allocations: 3.938 kB / 272.7 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.005093, allocations: 4 kB / 272.7 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.665e-05/0.00515, allocations: 144.3 kB / 272.9 MB, free: 1.543 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.005169, allocations: 7.953 kB / 272.9 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.00518, allocations: 7.984 kB / 272.9 MB, free: 1.527 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.893e-05/0.005209, allocations: 0 / 272.9 MB, free: 1.527 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.005232, allocations: 3.938 kB / 272.9 MB, free: 1.523 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.005235, allocations: 0 / 272.9 MB, free: 1.523 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.024e-05/0.005255, allocations: 35.75 kB / 272.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005255, allocations: 0 / 272.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001106/0.005366, allocations: 4 kB / 272.9 MB, free: 1.484 MB / 250.7 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 5.894e-05/0.005424, allocations: 84.44 kB / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.234e-05/0.005467, allocations: 12.8 kB / 273 MB, free: 1.379 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.005469, allocations: 0 / 273 MB, free: 1.379 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.096e-05/0.00548, allocations: 8.859 kB / 273 MB, free: 1.367 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.005641, allocations: 20.23 kB / 273 MB, free: 1.344 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.005962, allocations: 171.8 kB / 273.2 MB, free: 1.148 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.252e-05/0.005995, allocations: 67.28 kB / 273.3 MB, free: 1.062 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.724e-05/0.006012, allocations: 0 / 273.3 MB, free: 1.062 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.425e-05/0.006056, allocations: 55.38 kB / 273.3 MB, free: 1.008 MB / 250.7 MB Notification: Performance of SimCode: time 4.81e-07/0.006057, allocations: 0 / 273.3 MB, free: 1.008 MB / 250.7 MB Notification: Performance of Templates: time 0.001858/0.007915, allocations: 0.6004 MB / 273.9 MB, free: 432 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3644617749378085]