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.001004/0.001004, allocations: 74.2 kB / 21.42 MB, free: 3.059 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.001025/0.001025, allocations: 151.5 kB / 24.8 MB, free: 9.238 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.9449/0.9449, allocations: 173.4 MB / 201.4 MB, free: 9.211 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.393e-06/1.393e-06, allocations: 0 / 268.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.324e-05, allocations: 6.25 kB / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.001857/0.00187, allocations: 1.577 MB / 270 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006322/0.002503, allocations: 498.5 kB / 270.5 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.334e-05/0.002576, allocations: 7.938 kB / 270.5 MB, free: 4.109 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.848e-05/0.002614, allocations: 3.938 kB / 270.5 MB, free: 4.105 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.002726, allocations: 19.84 kB / 270.5 MB, free: 4.086 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.002914, allocations: 47.77 kB / 270.5 MB, free: 4.039 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.724e-05/0.002991, allocations: 43.8 kB / 270.6 MB, free: 3.996 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.064e-05/0.003072, allocations: 19.97 kB / 270.6 MB, free: 3.977 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.322e-05/0.003135, allocations: 23.92 kB / 270.6 MB, free: 3.953 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.105e-05/0.003176, allocations: 11.98 kB / 270.6 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.003191, allocations: 0 / 270.6 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.205e-06/0.003199, allocations: 8 kB / 270.7 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.577e-05/0.003235, allocations: 19.91 kB / 270.7 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.843e-05/0.003253, allocations: 15.94 kB / 270.7 MB, free: 3.898 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.648e-05/0.003339, allocations: 39.83 kB / 270.7 MB, free: 3.859 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.402e-06/0.003341, allocations: 0 / 270.7 MB, free: 3.859 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.003342, allocations: 3.938 kB / 270.7 MB, free: 3.855 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.003345, allocations: 0 / 270.7 MB, free: 3.855 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.0003301/0.003675, allocations: 396.3 kB / 271.1 MB, free: 3.434 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.003711, allocations: 12.92 kB / 271.1 MB, free: 3.422 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.00374, allocations: 12.89 kB / 271.1 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.003881, allocations: 152.4 kB / 271.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.003891, allocations: 4.375 kB / 271.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.003899, allocations: 4.375 kB / 271.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.004084, allocations: 121.5 kB / 271.4 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.00409, allocations: 192 / 271.4 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-06/0.004096, allocations: 384 / 271.4 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.004102, allocations: 3.938 kB / 271.4 MB, free: 3.078 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.635e-05/0.004118, allocations: 11.94 kB / 271.4 MB, free: 3.066 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.004315, allocations: 244.1 kB / 271.7 MB, free: 2.797 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.184e-05/0.004357, allocations: 62.06 kB / 271.7 MB, free: 2.711 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.618e-05/0.004373, allocations: 23.5 kB / 271.8 MB, free: 2.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.004387, allocations: 0 / 271.8 MB, free: 2.68 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.004405, allocations: 33.39 kB / 271.8 MB, free: 2.637 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 6.11e-07/0.004405, allocations: 4 kB / 271.8 MB, free: 2.633 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 9.999e-05/0.004505, allocations: 49.52 kB / 271.8 MB, free: 2.578 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.00454, allocations: 89.36 kB / 271.9 MB, free: 2.473 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.66e-05/0.004617, allocations: 185.9 kB / 272.1 MB, free: 2.273 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.004625, allocations: 25.7 kB / 272.1 MB, free: 2.242 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.00467, allocations: 146.8 kB / 272.3 MB, free: 2.094 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.228e-05/0.004683, allocations: 0 / 272.3 MB, free: 2.094 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.004707, allocations: 23.33 kB / 272.3 MB, free: 2.062 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.004806, allocations: 496.1 kB / 272.8 MB, free: 1.566 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.242e-06/0.004813, allocations: 0 / 272.8 MB, free: 1.566 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.112e-06/0.004819, allocations: 0 / 272.8 MB, free: 1.566 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.756e-05/0.004836, allocations: 15.67 kB / 272.8 MB, free: 1.547 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.004838, allocations: 4.062 kB / 272.8 MB, free: 1.543 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.482e-05/0.004872, allocations: 37.7 kB / 272.8 MB, free: 1.5 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.004882, allocations: 4 kB / 272.8 MB, free: 1.496 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.004887, allocations: 3.938 kB / 272.8 MB, free: 1.492 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.004895, allocations: 0 / 272.8 MB, free: 1.492 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.821e-05/0.004944, allocations: 7.938 kB / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.004947, allocations: 3.984 kB / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.273e-05/0.00496, allocations: 3.938 kB / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.004964, allocations: 0 / 272.9 MB, free: 1.477 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 5.289e-05/0.005017, allocations: 156.6 kB / 273 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.005045, allocations: 41.69 kB / 273.1 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.005069, allocations: 15.73 kB / 273.1 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.31e-07/0.00507, allocations: 0 / 273.1 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.005071, allocations: 0 / 273.1 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.005074, allocations: 4 kB / 273.1 MB, free: 1.246 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.284e-05/0.005157, allocations: 109.2 kB / 273.2 MB, free: 1.113 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.005157, allocations: 0 / 273.2 MB, free: 1.113 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.522e-05/0.005172, allocations: 4 kB / 273.2 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-07/0.005173, allocations: 0 / 273.2 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-06/0.005177, allocations: 0 / 273.2 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.005178, allocations: 4.031 kB / 273.2 MB, free: 1.105 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.00518, allocations: 11.88 kB / 273.2 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.951e-05/0.005249, allocations: 195.6 kB / 273.4 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.00527, allocations: 11.95 kB / 273.4 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.005279, allocations: 7.984 kB / 273.4 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.884e-05/0.005308, allocations: 0 / 273.4 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.005325, allocations: 3.938 kB / 273.4 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.005328, allocations: 4 kB / 273.4 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.88e-05/0.005366, allocations: 138.3 kB / 273.6 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005366, allocations: 0 / 273.6 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001301/0.005497, allocations: 8.031 kB / 273.6 MB, free: 0.7109 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.937e-05/0.005556, allocations: 99.23 kB / 273.7 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.011e-05/0.005606, allocations: 19.62 kB / 273.7 MB, free: 0.582 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.005607, allocations: 0 / 273.7 MB, free: 0.582 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.262e-05/0.00562, allocations: 11.67 kB / 273.7 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.005817, allocations: 19.27 kB / 273.7 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.006133, allocations: 177.4 kB / 273.9 MB, free: 352 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.104e-05/0.006164, allocations: 59.34 kB / 273.9 MB, free: 272 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.758e-05/0.006181, allocations: 7.984 kB / 273.9 MB, free: 264 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.006225, allocations: 70.2 kB / 274 MB, free: 192 kB / 250.7 MB Notification: Performance of SimCode: time 5.82e-07/0.006226, allocations: 0 / 274 MB, free: 192 kB / 250.7 MB Notification: Performance of Templates: time 0.001831/0.008057, allocations: 0.6328 MB / 274.7 MB, free: 15.57 MB / 266.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 -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.44398235110566]