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.001313/0.001313, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001802/0.003115, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001068/0.001068, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0017/0.002768, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.949/0.949, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08243/1.031, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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 1.503e-06/1.503e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.483e-05, allocations: 9.688 kB / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003338/0.003363, allocations: 1.662 MB / 246.4 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.004407, allocations: 0.5295 MB / 246.9 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.311e-05/0.0045, allocations: 4 kB / 246.9 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.145e-05/0.004551, allocations: 15.86 kB / 246.9 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.917e-05/0.004651, allocations: 7.938 kB / 246.9 MB, free: 12 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.004944, allocations: 59.73 kB / 247 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.005148, allocations: 43.86 kB / 247 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.723e-05/0.005245, allocations: 20.05 kB / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.005427, allocations: 39.91 kB / 247.1 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.173e-05/0.005478, allocations: 11.98 kB / 247.1 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.005493, allocations: 0 / 247.1 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.406e-05/0.005547, allocations: 12 kB / 247.1 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.684e-05/0.005583, allocations: 15.92 kB / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.005606, allocations: 15.94 kB / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.005724, allocations: 39.78 kB / 247.2 MB, free: 11.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.005734, allocations: 0 / 247.2 MB, free: 11.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.005735, allocations: 4 kB / 247.2 MB, free: 11.75 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.005743, allocations: 0 / 247.2 MB, free: 11.75 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.0003337/0.006077, allocations: 300.1 kB / 247.5 MB, free: 11.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.006104, allocations: 8.031 kB / 247.5 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.006239, allocations: 94.03 kB / 247.6 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.006387, allocations: 148.4 kB / 247.7 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-06/0.006393, allocations: 384 / 247.7 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.006403, allocations: 4.375 kB / 247.7 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.006557, allocations: 106.3 kB / 247.8 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.006563, allocations: 192 / 247.8 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.006571, allocations: 8.125 kB / 247.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.006576, allocations: 3.984 kB / 247.8 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.693e-05/0.006593, allocations: 19.92 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.006742, allocations: 137.2 kB / 248 MB, free: 10.83 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.098e-05/0.006783, allocations: 45.09 kB / 248 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.518e-05/0.006798, allocations: 17.84 kB / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.00681, allocations: 0 / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.006828, allocations: 34.56 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 5.71e-07/0.006828, allocations: 0 / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 9.531e-05/0.006923, allocations: 45.56 kB / 248.1 MB, free: 10.65 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.006956, allocations: 77.36 kB / 248.2 MB, free: 10.56 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.594e-05/0.007021, allocations: 142.7 kB / 248.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.00703, allocations: 25.7 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.938e-05/0.007059, allocations: 92.11 kB / 248.5 MB, free: 10.28 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.16e-05/0.007071, allocations: 3.953 kB / 248.5 MB, free: 10.28 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.007092, allocations: 13.72 kB / 248.5 MB, free: 10.26 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.901e-05/0.007161, allocations: 314.8 kB / 248.8 MB, free: 9.941 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.094e-06/0.007168, allocations: 3.938 kB / 248.8 MB, free: 9.938 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.981e-06/0.007174, allocations: 4 kB / 248.8 MB, free: 9.934 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.831e-05/0.007192, allocations: 8.844 kB / 248.8 MB, free: 9.922 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.007194, allocations: 0 / 248.8 MB, free: 9.922 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.236e-05/0.007226, allocations: 37.77 kB / 248.8 MB, free: 9.879 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.007237, allocations: 4 kB / 248.8 MB, free: 9.875 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.007242, allocations: 3.938 kB / 248.8 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.007252, allocations: 0 / 248.8 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.497e-05/0.007297, allocations: 7.984 kB / 248.8 MB, free: 9.863 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.0073, allocations: 0 / 248.8 MB, free: 9.863 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.247e-05/0.007312, allocations: 0 / 248.8 MB, free: 9.863 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.007318, allocations: 7.938 kB / 248.9 MB, free: 9.855 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.512e-05/0.007363, allocations: 116.7 kB / 249 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.007389, allocations: 37.72 kB / 249 MB, free: 9.688 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.00741, allocations: 11.75 kB / 249 MB, free: 9.676 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.007411, allocations: 0 / 249 MB, free: 9.676 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.007412, allocations: 0 / 249 MB, free: 9.676 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.007416, allocations: 4 kB / 249 MB, free: 9.672 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.00752, allocations: 77.88 kB / 249.1 MB, free: 9.578 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.007521, allocations: 0 / 249.1 MB, free: 9.578 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.967e-05/0.00754, allocations: 7.984 kB / 249.1 MB, free: 9.57 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.007561, allocations: 11.89 kB / 249.1 MB, free: 9.559 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.007563, allocations: 4 kB / 249.1 MB, free: 9.555 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-06/0.007567, allocations: 0 / 249.1 MB, free: 9.555 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.007568, allocations: 7.969 kB / 249.1 MB, free: 9.547 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.007569, allocations: 0 / 249.1 MB, free: 9.547 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.243e-05/0.007632, allocations: 136.3 kB / 249.3 MB, free: 9.395 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-06/0.007641, allocations: 4 kB / 249.3 MB, free: 9.391 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.839e-05/0.007669, allocations: 3.984 kB / 249.3 MB, free: 9.387 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.007688, allocations: 3.938 kB / 249.3 MB, free: 9.383 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.007692, allocations: 8 kB / 249.3 MB, free: 9.375 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.254e-05/0.007714, allocations: 31.41 kB / 249.3 MB, free: 9.344 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007714, allocations: 0 / 249.3 MB, free: 9.344 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001073/0.007821, allocations: 4 kB / 249.3 MB, free: 9.34 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 7.308e-05/0.007895, allocations: 80.45 kB / 249.4 MB, free: 9.25 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.592e-05/0.00794, allocations: 20.72 kB / 249.4 MB, free: 9.227 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.007945, allocations: 4 kB / 249.4 MB, free: 9.223 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.215e-05/0.007958, allocations: 4.859 kB / 249.4 MB, free: 9.215 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.008152, allocations: 101.4 kB / 249.5 MB, free: 9.094 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005774/0.00873, allocations: 171.8 kB / 249.7 MB, free: 8.898 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.086e-05/0.008761, allocations: 59.34 kB / 249.7 MB, free: 8.82 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.05e-05/0.008781, allocations: 4 kB / 249.7 MB, free: 8.816 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/0.008832, allocations: 59.36 kB / 249.8 MB, free: 8.758 MB / 250.7 MB Notification: Performance of SimCode: time 6.11e-07/0.008833, allocations: 0 / 249.8 MB, free: 8.758 MB / 250.7 MB Notification: Performance of Templates: time 0.001929/0.01076, allocations: 0.6279 MB / 250.4 MB, free: 8.152 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.558229671791196]