Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.0009906/0.0009906, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001449/0.00244, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007193/0.0007193, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008953/0.001615, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9334/0.9334, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09047/1.024, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.122e-05, allocations: 6.25 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002313/0.002334, allocations: 1.724 MB / 246.3 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006592/0.002994, allocations: 0.5576 MB / 246.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.527e-05/0.003059, allocations: 3.938 kB / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.966e-05/0.003109, allocations: 11.94 kB / 246.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.375e-05/0.003162, allocations: 19.73 kB / 246.8 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.003338, allocations: 55.81 kB / 246.9 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.003446, allocations: 71.7 kB / 247 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.379e-05/0.00354, allocations: 15.98 kB / 247 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.003681, allocations: 51.83 kB / 247 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.316e-05/0.003744, allocations: 19.92 kB / 247.1 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.003769, allocations: 4 kB / 247.1 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.067e-05/0.00384, allocations: 15.92 kB / 247.1 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.164e-05/0.003882, allocations: 19.94 kB / 247.1 MB, free: 11.72 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.003907, allocations: 15.94 kB / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.004027, allocations: 51.77 kB / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.601e-05/0.004043, allocations: 0 / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.004044, allocations: 0 / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.004057, allocations: 0 / 247.2 MB, free: 11.66 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004042/0.004461, allocations: 312.1 kB / 247.5 MB, free: 11.33 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.004501, allocations: 8.031 kB / 247.5 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.004669, allocations: 102 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.004839, allocations: 161.5 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-06/0.004847, allocations: 384 / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.004857, allocations: 4.375 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.005042, allocations: 116.8 kB / 247.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.005049, allocations: 4.188 kB / 247.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.005057, allocations: 384 / 247.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.005085, allocations: 7.922 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.365e-05/0.005109, allocations: 18.77 kB / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002165/0.005326, allocations: 254.9 kB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.936e-05/0.005385, allocations: 58.59 kB / 248.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.005408, allocations: 22.7 kB / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.005422, allocations: 4 kB / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.005442, allocations: 34.5 kB / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.005443, allocations: 0 / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001391/0.005582, allocations: 61.55 kB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001706/0.005753, allocations: 106.8 kB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.702e-05/0.00583, allocations: 157.2 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.005839, allocations: 25.7 kB / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.005871, allocations: 88.12 kB / 248.7 MB, free: 9.926 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.005892, allocations: 7.891 kB / 248.7 MB, free: 9.918 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.00592, allocations: 21.7 kB / 248.7 MB, free: 9.891 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.431e-05/0.006014, allocations: 318.8 kB / 249 MB, free: 9.57 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.006027, allocations: 0 / 249 MB, free: 9.57 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.015e-05/0.006047, allocations: 18.08 kB / 249 MB, free: 9.547 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.996e-05/0.006077, allocations: 24.59 kB / 249.1 MB, free: 9.516 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.006079, allocations: 0 / 249.1 MB, free: 9.516 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.285e-05/0.006132, allocations: 41.62 kB / 249.1 MB, free: 9.469 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.006147, allocations: 10.97 kB / 249.1 MB, free: 9.461 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.006154, allocations: 7.938 kB / 249.1 MB, free: 9.453 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.233e-06/0.006161, allocations: 0 / 249.1 MB, free: 9.453 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.494e-05/0.006226, allocations: 7.984 kB / 249.1 MB, free: 9.445 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.00623, allocations: 4 kB / 249.1 MB, free: 9.441 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.006248, allocations: 4.062 kB / 249.1 MB, free: 9.438 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.006254, allocations: 4 kB / 249.1 MB, free: 9.434 MB / 250.7 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 5.476e-05/0.006309, allocations: 112.7 kB / 249.2 MB, free: 9.312 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.006351, allocations: 45.58 kB / 249.3 MB, free: 9.262 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.384e-05/0.006375, allocations: 15.89 kB / 249.3 MB, free: 9.246 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.006387, allocations: 4 kB / 249.3 MB, free: 9.242 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.006389, allocations: 0 / 249.3 MB, free: 9.242 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.006392, allocations: 0 / 249.3 MB, free: 9.242 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.00651, allocations: 85.83 kB / 249.4 MB, free: 9.141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.006512, allocations: 4.031 kB / 249.4 MB, free: 9.137 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.878e-05/0.006541, allocations: 15.97 kB / 249.4 MB, free: 9.121 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.00657, allocations: 7.953 kB / 249.4 MB, free: 9.113 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.006575, allocations: 4 kB / 249.4 MB, free: 9.109 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.006581, allocations: 3.984 kB / 249.4 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.006584, allocations: 3.938 kB / 249.4 MB, free: 9.102 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.006585, allocations: 0 / 249.4 MB, free: 9.102 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.006736, allocations: 226.4 kB / 249.7 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.006748, allocations: 0 / 249.7 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.737e-05/0.006806, allocations: 4 kB / 249.7 MB, free: 8.855 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.00684, allocations: 15.95 kB / 249.7 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.006845, allocations: 0 / 249.7 MB, free: 8.84 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.134e-05/0.006877, allocations: 34.36 kB / 249.7 MB, free: 8.805 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.006877, allocations: 0 / 249.7 MB, free: 8.805 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001723/0.007049, allocations: 8 kB / 249.7 MB, free: 8.797 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.9e-05/0.007128, allocations: 80.41 kB / 249.8 MB, free: 8.707 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.447e-05/0.007203, allocations: 20.8 kB / 249.8 MB, free: 8.684 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.007209, allocations: 0 / 249.8 MB, free: 8.684 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.538e-05/0.007224, allocations: 16.97 kB / 249.8 MB, free: 8.664 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.007472, allocations: 34.09 kB / 249.9 MB, free: 8.629 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007544/0.008226, allocations: 212.9 kB / 250.1 MB, free: 8.379 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.853e-05/0.008265, allocations: 59.34 kB / 250.1 MB, free: 8.301 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.792e-05/0.008293, allocations: 4 kB / 250.1 MB, free: 8.297 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.03e-05/0.008343, allocations: 67.58 kB / 250.2 MB, free: 8.23 MB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.008344, allocations: 0 / 250.2 MB, free: 8.23 MB / 250.7 MB Notification: Performance of Templates: time 0.002371/0.01071, allocations: 0.7688 MB / 251 MB, free: 7.484 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.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.3838979909196496]