Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.001102/0.001102, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001729/0.002831, 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.001069/0.001069, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001428/0.002497, 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.9171/0.9171, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08023/0.9973, 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 244.7 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.602e-05, allocations: 5.828 kB / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002201/0.002227, allocations: 1.662 MB / 246.4 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006273/0.002854, allocations: 0.5646 MB / 246.9 MB, free: 12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.228e-05/0.002926, allocations: 7.938 kB / 246.9 MB, free: 12 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.767e-05/0.002964, allocations: 7.922 kB / 246.9 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.865e-05/0.003032, allocations: 3.938 kB / 246.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.003261, allocations: 63.67 kB / 247 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.003365, allocations: 47.8 kB / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.97e-05/0.003445, allocations: 16.17 kB / 247.1 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.003589, allocations: 47.78 kB / 247.1 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.277e-05/0.003642, allocations: 19.98 kB / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.003662, allocations: 4 kB / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.873e-05/0.003721, allocations: 4 kB / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.003762, allocations: 15.92 kB / 247.2 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.022e-05/0.003782, allocations: 11.94 kB / 247.2 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.003907, allocations: 35.84 kB / 247.2 MB, free: 11.72 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.003918, allocations: 4 kB / 247.2 MB, free: 11.72 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.003919, allocations: 0 / 247.2 MB, free: 11.72 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.003928, allocations: 0 / 247.2 MB, free: 11.72 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.0003777/0.004306, allocations: 296.1 kB / 247.5 MB, free: 11.41 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.004337, allocations: 8.031 kB / 247.5 MB, free: 11.4 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.004483, allocations: 106 kB / 247.6 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.004641, allocations: 140.4 kB / 247.7 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.004648, allocations: 384 / 247.7 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/0.004882, allocations: 8.375 kB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.005046, allocations: 102.3 kB / 247.8 MB, free: 10.99 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.005052, allocations: 8.188 kB / 247.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.005059, allocations: 4.125 kB / 247.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.005065, allocations: 3.984 kB / 247.9 MB, free: 10.97 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.921e-05/0.005085, allocations: 15.92 kB / 247.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.005247, allocations: 149.2 kB / 248 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.078e-05/0.005288, allocations: 37.08 kB / 248.1 MB, free: 10.74 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.458e-05/0.005302, allocations: 13.84 kB / 248.1 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.005315, allocations: 0 / 248.1 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.005335, allocations: 34.56 kB / 248.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 2.605e-06/0.005338, allocations: 4 kB / 248.1 MB, free: 10.67 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001123/0.00545, allocations: 49.56 kB / 248.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.00549, allocations: 81.11 kB / 248.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.777e-05/0.005568, allocations: 130.7 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.005575, allocations: 29.64 kB / 248.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.005613, allocations: 92.11 kB / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.005628, allocations: 3.953 kB / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.005657, allocations: 17.72 kB / 248.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.169e-05/0.005739, allocations: 314.8 kB / 248.8 MB, free: 9.906 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.464e-05/0.005753, allocations: 256 / 248.8 MB, free: 9.906 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.759e-06/0.005763, allocations: 11.94 kB / 248.8 MB, free: 9.895 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.629e-05/0.005789, allocations: 8.844 kB / 248.8 MB, free: 9.883 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.005792, allocations: 0 / 248.8 MB, free: 9.883 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.849e-05/0.00585, allocations: 33.7 kB / 248.9 MB, free: 9.844 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.005864, allocations: 4 kB / 248.9 MB, free: 9.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.00587, allocations: 3.938 kB / 248.9 MB, free: 9.836 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.005882, allocations: 0 / 248.9 MB, free: 9.836 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.242e-05/0.005945, allocations: 7.984 kB / 248.9 MB, free: 9.828 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.005948, allocations: 0 / 248.9 MB, free: 9.828 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.005967, allocations: 4.094 kB / 248.9 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.005973, allocations: 4 kB / 248.9 MB, free: 9.82 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 6.089e-05/0.006034, allocations: 108.7 kB / 249 MB, free: 9.703 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.006083, allocations: 37.62 kB / 249 MB, free: 9.66 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.006111, allocations: 15.75 kB / 249 MB, free: 9.645 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.006113, allocations: 0 / 249 MB, free: 9.645 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.006115, allocations: 4 kB / 249.1 MB, free: 9.641 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.006119, allocations: 0 / 249.1 MB, free: 9.641 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.006232, allocations: 73.88 kB / 249.1 MB, free: 9.551 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.006233, allocations: 0 / 249.1 MB, free: 9.551 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.006271, allocations: 12.02 kB / 249.1 MB, free: 9.539 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.006303, allocations: 7.953 kB / 249.1 MB, free: 9.531 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.006305, allocations: 4 kB / 249.1 MB, free: 9.527 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.006311, allocations: 0 / 249.1 MB, free: 9.527 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.006315, allocations: 3.938 kB / 249.2 MB, free: 9.523 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.006317, allocations: 0 / 249.2 MB, free: 9.523 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.211e-05/0.006409, allocations: 144.3 kB / 249.3 MB, free: 9.363 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.006421, allocations: 0 / 249.3 MB, free: 9.363 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.169e-05/0.006482, allocations: 3.984 kB / 249.3 MB, free: 9.359 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.006507, allocations: 7.938 kB / 249.3 MB, free: 9.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.006513, allocations: 8.031 kB / 249.3 MB, free: 9.344 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.554e-05/0.006548, allocations: 31.52 kB / 249.3 MB, free: 9.312 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.006548, allocations: 0 / 249.3 MB, free: 9.312 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002007/0.006749, allocations: 4 kB / 249.3 MB, free: 9.309 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 8.96e-05/0.006839, allocations: 76.42 kB / 249.4 MB, free: 9.223 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.126e-05/0.0069, allocations: 16.84 kB / 249.4 MB, free: 9.203 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.006906, allocations: 7.938 kB / 249.4 MB, free: 9.195 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.682e-05/0.006922, allocations: 4.859 kB / 249.5 MB, free: 9.188 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.007194, allocations: 105.6 kB / 249.6 MB, free: 9.062 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008622/0.008056, allocations: 171.5 kB / 249.7 MB, free: 8.867 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.031e-05/0.008106, allocations: 63.34 kB / 249.8 MB, free: 8.785 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.86e-05/0.008135, allocations: 0 / 249.8 MB, free: 8.785 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.172e-05/0.008206, allocations: 59.36 kB / 249.8 MB, free: 8.727 MB / 250.7 MB Notification: Performance of SimCode: time 9.12e-07/0.008207, allocations: 0 / 249.8 MB, free: 8.727 MB / 250.7 MB Notification: Performance of Templates: time 0.002482/0.01069, allocations: 0.6288 MB / 250.5 MB, free: 8.121 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.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.4805324655026197]