Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.001052/0.001052, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001591/0.002643, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006436/0.0006436, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.00166, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8032/0.8032, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1362/0.9394, allocations: 52.5 MB / 238.5 MB, free: 7.617 MB / 234.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.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 239.8 MB, free: 6.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/1.998e-05, allocations: 2.312 kB / 239.8 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002077/0.002097, allocations: 1.701 MB / 241.5 MB, free: 4.648 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004944/0.002591, allocations: 489 kB / 241.9 MB, free: 4.168 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.057e-05/0.002652, allocations: 3.938 kB / 241.9 MB, free: 4.164 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.083e-05/0.002702, allocations: 13.91 kB / 242 MB, free: 4.152 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.095e-05/0.002753, allocations: 11.86 kB / 242 MB, free: 4.141 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.002906, allocations: 47.77 kB / 242 MB, free: 4.094 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.221e-05/0.002998, allocations: 59.72 kB / 242.1 MB, free: 4.035 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.378e-05/0.003072, allocations: 17.45 kB / 242.1 MB, free: 4.02 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.486e-05/0.003147, allocations: 39.84 kB / 242.1 MB, free: 3.98 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.122e-05/0.003198, allocations: 27.89 kB / 242.2 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.003217, allocations: 4.625 kB / 242.2 MB, free: 3.949 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.003228, allocations: 4 kB / 242.2 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.986e-05/0.003268, allocations: 20.53 kB / 242.2 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.00329, allocations: 11.94 kB / 242.2 MB, free: 3.914 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 8.493e-05/0.003375, allocations: 48.31 kB / 242.2 MB, free: 3.867 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.003383, allocations: 1.688 kB / 242.2 MB, free: 3.867 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003384, allocations: 0 / 242.2 MB, free: 3.867 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.003393, allocations: 0 / 242.2 MB, free: 3.867 MB / 234.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.0003338/0.003727, allocations: 308.1 kB / 242.5 MB, free: 3.543 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.003758, allocations: 9.188 kB / 242.6 MB, free: 3.535 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.003786, allocations: 4.938 kB / 242.6 MB, free: 3.531 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.00392, allocations: 150.6 kB / 242.7 MB, free: 3.359 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/0.003927, allocations: 4.359 kB / 242.7 MB, free: 3.355 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.003937, allocations: 4.375 kB / 242.7 MB, free: 3.352 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.004094, allocations: 118.5 kB / 242.8 MB, free: 3.211 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.004099, allocations: 192 / 242.8 MB, free: 3.211 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.004105, allocations: 1.062 kB / 242.8 MB, free: 3.211 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.004131, allocations: 11.94 kB / 242.8 MB, free: 3.199 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.984e-05/0.00415, allocations: 15.47 kB / 242.9 MB, free: 3.184 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.004344, allocations: 255.5 kB / 243.1 MB, free: 2.91 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.088e-05/0.004394, allocations: 65.25 kB / 243.2 MB, free: 2.82 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.429e-05/0.004419, allocations: 26.5 kB / 243.2 MB, free: 2.785 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.00443, allocations: 11.92 kB / 243.2 MB, free: 2.773 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.004446, allocations: 30.56 kB / 243.2 MB, free: 2.734 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 6.71e-07/0.004447, allocations: 0 / 243.2 MB, free: 2.734 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001165/0.004563, allocations: 59.03 kB / 243.3 MB, free: 2.672 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.004604, allocations: 110.8 kB / 243.4 MB, free: 2.539 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.481e-05/0.004668, allocations: 148.7 kB / 243.5 MB, free: 2.383 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.004678, allocations: 25.7 kB / 243.6 MB, free: 2.352 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.004711, allocations: 97.12 kB / 243.7 MB, free: 2.254 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.004725, allocations: 11.94 kB / 243.7 MB, free: 2.242 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.004745, allocations: 9.719 kB / 243.7 MB, free: 2.227 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.741e-05/0.004812, allocations: 325.9 kB / 244 MB, free: 1.902 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-06/0.004819, allocations: 0 / 244 MB, free: 1.902 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.229e-05/0.004832, allocations: 13.72 kB / 244 MB, free: 1.879 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.499e-05/0.004857, allocations: 20.48 kB / 244 MB, free: 1.852 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.004858, allocations: 4 kB / 244 MB, free: 1.848 MB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.045e-05/0.004899, allocations: 42.66 kB / 244.1 MB, free: 1.801 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.004908, allocations: 4 kB / 244.1 MB, free: 1.797 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.004913, allocations: 3.938 kB / 244.1 MB, free: 1.793 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.004923, allocations: 4.906 kB / 244.1 MB, free: 1.789 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.135e-05/0.004974, allocations: 7.984 kB / 244.1 MB, free: 1.781 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.004979, allocations: 9.703 kB / 244.1 MB, free: 1.773 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.004997, allocations: 4 kB / 244.1 MB, free: 1.77 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.005004, allocations: 3.984 kB / 244.1 MB, free: 1.766 MB / 234.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 4.551e-05/0.00505, allocations: 108.7 kB / 244.2 MB, free: 1.648 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.005086, allocations: 34.36 kB / 244.3 MB, free: 1.609 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.224e-05/0.005108, allocations: 20.58 kB / 244.3 MB, free: 1.582 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.005117, allocations: 4 kB / 244.3 MB, free: 1.578 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.005118, allocations: 0.5 kB / 244.3 MB, free: 1.578 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.005121, allocations: 0.8125 kB / 244.3 MB, free: 1.578 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.005224, allocations: 85.81 kB / 244.4 MB, free: 1.477 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.005226, allocations: 0 / 244.4 MB, free: 1.477 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/0.005249, allocations: 13.64 kB / 244.4 MB, free: 1.465 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.005271, allocations: 11.94 kB / 244.4 MB, free: 1.453 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.005273, allocations: 4 kB / 244.4 MB, free: 1.449 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-06/0.005277, allocations: 0 / 244.4 MB, free: 1.449 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.005279, allocations: 8.406 kB / 244.4 MB, free: 1.441 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.00528, allocations: 7.938 kB / 244.4 MB, free: 1.434 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.399e-05/0.005364, allocations: 222.5 kB / 244.6 MB, free: 1.195 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.677e-06/0.005373, allocations: 0 / 244.6 MB, free: 1.195 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.193e-05/0.005425, allocations: 4 kB / 244.6 MB, free: 1.191 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.00545, allocations: 11.92 kB / 244.7 MB, free: 1.18 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.005453, allocations: 0 / 244.7 MB, free: 1.18 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.298e-05/0.005476, allocations: 36.08 kB / 244.7 MB, free: 1.145 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005476, allocations: 4 kB / 244.7 MB, free: 1.141 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.00014/0.005616, allocations: 4 kB / 244.7 MB, free: 1.137 MB / 234.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 5.759e-05/0.005673, allocations: 96.31 kB / 244.8 MB, free: 1.035 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 5.156e-05/0.005725, allocations: 8.859 kB / 244.8 MB, free: 1.023 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.005729, allocations: 4 kB / 244.8 MB, free: 1.02 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.938e-05/0.005748, allocations: 16.83 kB / 244.8 MB, free: 1 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.005992, allocations: 112.5 kB / 244.9 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006825/0.006674, allocations: 209.6 kB / 245.1 MB, free: 0.625 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.583e-05/0.00671, allocations: 63.28 kB / 245.2 MB, free: 0.543 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.208e-05/0.006732, allocations: 4 kB / 245.2 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.073e-05/0.006783, allocations: 59.36 kB / 245.3 MB, free: 492 kB / 234.7 MB Notification: Performance of SimCode: time 4.11e-07/0.006783, allocations: 0 / 245.3 MB, free: 492 kB / 234.7 MB Notification: Performance of Templates: time 0.001957/0.00874, allocations: 0.748 MB / 246 MB, free: 15.76 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.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.208238714374602]