Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001664/0.001664, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001819/0.001819, allocations: 217.5 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 71.89 kB / 379.1 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2899, allocations: 53.39 MB / 432.4 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003358/0.2933, allocations: 1.636 MB / 434.1 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.2945, allocations: 0.5725 MB / 434.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.99e-05/0.2946, allocations: 4 kB / 434.7 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.2947, allocations: 11.86 kB / 434.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.2948, allocations: 15.86 kB / 434.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.2952, allocations: 67.8 kB / 434.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.2953, allocations: 59.78 kB / 434.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.2954, allocations: 15.92 kB / 434.8 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.2956, allocations: 35.86 kB / 434.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.533e-05/0.2957, allocations: 35.84 kB / 434.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.2957, allocations: 4 kB / 434.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.533e-05/0.2957, allocations: 8 kB / 434.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.217e-05/0.2958, allocations: 19.91 kB / 434.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.2958, allocations: 31.75 kB / 435 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.296, allocations: 76.86 kB / 435 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.296, allocations: 4 kB / 435 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.296, allocations: 0 / 435 MB, free: 4.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.296, allocations: 0 / 435 MB, free: 4.176 MB / 334.1 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.0005665/0.2966, allocations: 325.8 kB / 435.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2966, allocations: 8.031 kB / 435.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002445/0.2969, allocations: 28.86 kB / 435.4 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.2972, allocations: 154.9 kB / 435.5 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.2972, allocations: 4.375 kB / 435.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.2972, allocations: 4.375 kB / 435.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.2975, allocations: 130.2 kB / 435.7 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2975, allocations: 0 / 435.7 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.2975, allocations: 0 / 435.7 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.2976, allocations: 4 kB / 435.7 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.2977, allocations: 39.97 kB / 435.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.2983, allocations: 344.9 kB / 436.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.2984, allocations: 95.81 kB / 436.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.643e-05/0.2985, allocations: 38.56 kB / 436.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.2985, allocations: 3.984 kB / 436.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.2986, allocations: 38.5 kB / 436.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.2986, allocations: 0 / 436.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000381/0.2989, allocations: 117.5 kB / 436.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.104e-05/0.299, allocations: 106.8 kB / 436.5 MB, free: 2.562 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.2992, allocations: 166.1 kB / 436.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.2992, allocations: 25.7 kB / 436.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.2993, allocations: 100.4 kB / 436.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.2993, allocations: 7.953 kB / 436.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.2993, allocations: 25.7 kB / 436.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2995, allocations: 322.8 kB / 437.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.769e-05/0.2996, allocations: 15.98 kB / 437.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.928e-05/0.2996, allocations: 43.36 kB / 437.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.2998, allocations: 63.41 kB / 437.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2998, allocations: 0 / 437.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002012/0.3, allocations: 93.58 kB / 437.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.3, allocations: 8 kB / 437.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3, allocations: 0 / 437.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3, allocations: 0 / 437.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.3001, allocations: 11.98 kB / 437.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3001, allocations: 4 kB / 437.3 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.512e-05/0.3002, allocations: 8 kB / 437.3 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3002, allocations: 3.984 kB / 437.3 MB, free: 1.617 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 9.436e-05/0.3003, allocations: 121.8 kB / 437.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.401e-05/0.3004, allocations: 57.61 kB / 437.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.3004, allocations: 15.92 kB / 437.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.3005, allocations: 7.984 kB / 437.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3005, allocations: 0 / 437.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3005, allocations: 0 / 437.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.3007, allocations: 160.6 kB / 437.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.3007, allocations: 0 / 437.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.3008, allocations: 8 kB / 437.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3008, allocations: 0 / 437.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3008, allocations: 3.984 kB / 437.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3008, allocations: 8.016 kB / 437.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.251e-05/0.3008, allocations: 4 kB / 437.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.3011, allocations: 267.5 kB / 438 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.3011, allocations: 23.88 kB / 438 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.3012, allocations: 4 kB / 438 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3013, allocations: 4 kB / 438 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.3013, allocations: 7.984 kB / 438 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.3013, allocations: 0 / 438 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.116e-05/0.3014, allocations: 119.2 kB / 438.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3014, allocations: 0 / 438.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000281/0.3017, allocations: 8 kB / 438.1 MB, free: 0.7305 MB / 334.1 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 0.0001232/0.3018, allocations: 110.5 kB / 438.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.302, allocations: 55.83 kB / 438.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.302, allocations: 3.938 kB / 438.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.35e-05/0.3021, allocations: 23.92 kB / 438.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.3025, allocations: 27.58 kB / 438.4 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.303, allocations: 243.1 kB / 438.6 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.3034, allocations: 0.6924 MB / 439.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.3034, allocations: 15.42 kB / 439.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3034, allocations: 0 / 439.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of Templates: time 0.002637/0.306, allocations: 0.9775 MB / 440.3 MB, free: 14.54 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.4782506881747395]