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.001834/0.001834, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002276/0.002276, allocations: 210.5 kB / 24.48 MB, free: 3.934 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.47/1.47, allocations: 230.5 MB / 258.1 MB, free: 7.793 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.001937/0.001937, allocations: 63.91 kB / 379 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2539, allocations: 53.4 MB / 432.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002988/0.2569, allocations: 1.621 MB / 434 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.2579, allocations: 0.522 MB / 434.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.043e-05/0.258, allocations: 7.938 kB / 434.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.856e-05/0.2581, allocations: 19.86 kB / 434.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.2582, allocations: 11.86 kB / 434.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.2585, allocations: 63.8 kB / 434.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.2587, allocations: 67.72 kB / 434.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.2588, allocations: 11.98 kB / 434.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.2589, allocations: 35.92 kB / 434.7 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.668e-05/0.2589, allocations: 27.84 kB / 434.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.259, allocations: 4 kB / 434.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.998e-05/0.259, allocations: 8 kB / 434.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.129e-05/0.2591, allocations: 27.84 kB / 434.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.2591, allocations: 15.88 kB / 434.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.2593, allocations: 86.2 kB / 434.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2593, allocations: 0 / 434.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2593, allocations: 0 / 434.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.2593, allocations: 0 / 434.9 MB, free: 4.02 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.0005246/0.2598, allocations: 325.8 kB / 435.2 MB, free: 3.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.2598, allocations: 11.98 kB / 435.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.2601, allocations: 32.86 kB / 435.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.2603, allocations: 151 kB / 435.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.2603, allocations: 4.375 kB / 435.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-06/0.2603, allocations: 384 / 435.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.2606, allocations: 134.2 kB / 435.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2606, allocations: 3.938 kB / 435.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.2607, allocations: 7.938 kB / 435.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.2607, allocations: 4 kB / 435.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.2608, allocations: 39.97 kB / 435.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.2613, allocations: 317.5 kB / 435.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.2614, allocations: 79.72 kB / 436 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.727e-05/0.2615, allocations: 42.61 kB / 436 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.2615, allocations: 4 kB / 436 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.2616, allocations: 38.56 kB / 436.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.2616, allocations: 4 kB / 436.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000359/0.2619, allocations: 121.4 kB / 436.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/0.262, allocations: 106.8 kB / 436.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.2622, allocations: 158.1 kB / 436.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.2622, allocations: 26.08 kB / 436.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/0.2622, allocations: 104.1 kB / 436.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.2623, allocations: 3.953 kB / 436.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.2623, allocations: 21.72 kB / 436.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2624, allocations: 318.8 kB / 436.9 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.655e-05/0.2625, allocations: 19.98 kB / 436.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.589e-05/0.2626, allocations: 43.41 kB / 437 MB, free: 1.707 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.2627, allocations: 67.34 kB / 437.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.2627, allocations: 3.938 kB / 437.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000194/0.2629, allocations: 93.48 kB / 437.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.263, allocations: 6.5 kB / 437.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.263, allocations: 0 / 437.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.263, allocations: 4.125 kB / 437.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.442e-05/0.2631, allocations: 15.98 kB / 437.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2631, allocations: 0 / 437.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/0.2631, allocations: 4 kB / 437.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.2631, allocations: 4 kB / 437.2 MB, free: 1.496 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 0.0001029/0.2632, allocations: 125.8 kB / 437.3 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.666e-05/0.2633, allocations: 61.53 kB / 437.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.2634, allocations: 15.92 kB / 437.4 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.2634, allocations: 0 / 437.4 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2634, allocations: 0 / 437.4 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2634, allocations: 8.031 kB / 437.4 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.2636, allocations: 125.2 kB / 437.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2636, allocations: 3.938 kB / 437.5 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.811e-05/0.2637, allocations: 11.98 kB / 437.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2637, allocations: 0 / 437.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.2637, allocations: 0 / 437.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2637, allocations: 4 kB / 437.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2637, allocations: 0 / 437.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.264, allocations: 275.5 kB / 437.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.264, allocations: 19.95 kB / 437.8 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.264, allocations: 3.984 kB / 437.8 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.2641, allocations: 4 kB / 437.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.2642, allocations: 4.141 kB / 437.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.2642, allocations: 3.984 kB / 437.8 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.035e-05/0.2643, allocations: 120.1 kB / 438 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2643, allocations: 0 / 438 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.2645, allocations: 8 kB / 438 MB, free: 0.6484 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.0001113/0.2646, allocations: 103.2 kB / 438.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.2648, allocations: 55.88 kB / 438.1 MB, free: 496 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2648, allocations: 3.938 kB / 438.1 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.135e-05/0.2649, allocations: 19.98 kB / 438.1 MB, free: 472 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.2653, allocations: 39.44 kB / 438.2 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004347/0.2658, allocations: 231.2 kB / 438.4 MB, free: 168 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.2659, allocations: 92.98 kB / 438.5 MB, free: 44 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.2659, allocations: 11.44 kB / 438.5 MB, free: 36 kB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2659, allocations: 0 / 438.5 MB, free: 36 kB / 334.1 MB Notification: Performance of Templates: time 0.002697/0.2686, allocations: 0.9891 MB / 439.5 MB, free: 15.05 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.049323650076985]