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.001846/0.001846, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002822/0.002822, allocations: 210.9 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.692/1.692, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.1.|sample1.y.2.",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.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 47.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3794, allocations: 53.37 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.004376/0.3838, allocations: 1.629 MB / 434 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.3852, allocations: 0.5182 MB / 434.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.3853, allocations: 7.938 kB / 434.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.3855, allocations: 7.922 kB / 434.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.3856, allocations: 11.88 kB / 434.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.386, allocations: 67.78 kB / 434.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.3862, allocations: 67.72 kB / 434.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.3864, allocations: 11.94 kB / 434.7 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.3866, allocations: 47.77 kB / 434.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.87e-05/0.3866, allocations: 31.86 kB / 434.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.3867, allocations: 4 kB / 434.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.525e-05/0.3867, allocations: 4 kB / 434.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.513e-05/0.3868, allocations: 19.92 kB / 434.8 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.518e-05/0.3868, allocations: 23.81 kB / 434.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.3871, allocations: 74.33 kB / 434.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3871, allocations: 0 / 434.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3871, allocations: 0 / 434.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.3871, allocations: 4 kB / 434.9 MB, free: 4.184 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.0007616/0.3878, allocations: 325.8 kB / 435.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.3879, allocations: 15.97 kB / 435.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002828/0.3882, allocations: 28.86 kB / 435.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.3886, allocations: 150.2 kB / 435.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3886, allocations: 4.375 kB / 435.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.3886, allocations: 8.359 kB / 435.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003848/0.389, allocations: 130.2 kB / 435.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.389, allocations: 4 kB / 435.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.389, allocations: 0 / 435.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.389, allocations: 0 / 435.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.3892, allocations: 43.91 kB / 435.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006035/0.3898, allocations: 313.6 kB / 435.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.39, allocations: 87.69 kB / 435.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.3901, allocations: 42.62 kB / 436 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.3901, allocations: 4 kB / 436 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/0.3902, allocations: 38.5 kB / 436 MB, free: 2.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3902, allocations: 0 / 436 MB, free: 2.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004654/0.3906, allocations: 117.5 kB / 436.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.3908, allocations: 103.2 kB / 436.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.391, allocations: 158.2 kB / 436.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.391, allocations: 29.7 kB / 436.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.718e-05/0.3911, allocations: 92.08 kB / 436.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.3911, allocations: 7.953 kB / 436.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.3912, allocations: 21.7 kB / 436.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.3914, allocations: 318.8 kB / 436.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.651e-05/0.3915, allocations: 19.92 kB / 436.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.3916, allocations: 47.34 kB / 436.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.3917, allocations: 71.34 kB / 437 MB, free: 1.801 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.302e-05/0.3917, allocations: 3.938 kB / 437 MB, free: 1.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002073/0.3919, allocations: 85.55 kB / 437.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.392, allocations: 4 kB / 437.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.392, allocations: 4.125 kB / 437.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.392, allocations: 11.94 kB / 437.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.3921, allocations: 11.98 kB / 437.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3921, allocations: 4 kB / 437.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.112e-05/0.3922, allocations: 4 kB / 437.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3922, allocations: 0 / 437.1 MB, free: 1.668 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.0001526/0.3924, allocations: 129.7 kB / 437.2 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.3925, allocations: 61.58 kB / 437.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.482e-05/0.3925, allocations: 15.92 kB / 437.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.3925, allocations: 32 / 437.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3925, allocations: 8 kB / 437.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.3926, allocations: 3.984 kB / 437.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.3928, allocations: 121.2 kB / 437.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3928, allocations: 4 kB / 437.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.28e-05/0.3929, allocations: 7.984 kB / 437.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3929, allocations: 0 / 437.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.3929, allocations: 4 kB / 437.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3929, allocations: 0 / 437.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.3929, allocations: 3.938 kB / 437.5 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.3932, allocations: 279.5 kB / 437.7 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.3933, allocations: 15.94 kB / 437.8 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.3933, allocations: 4 kB / 437.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.3934, allocations: 0 / 437.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.3935, allocations: 7.984 kB / 437.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.3935, allocations: 0 / 437.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.3936, allocations: 124.1 kB / 437.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3936, allocations: 0 / 437.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.3939, allocations: 8 kB / 437.9 MB, free: 0.8164 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.000144/0.394, allocations: 107.1 kB / 438 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.3942, allocations: 51.95 kB / 438.1 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3942, allocations: 3.938 kB / 438.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.28e-05/0.3943, allocations: 15.98 kB / 438.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.3948, allocations: 30.53 kB / 438.1 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005517/0.3954, allocations: 213.4 kB / 438.3 MB, free: 376 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.3955, allocations: 84.98 kB / 438.4 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.684e-05/0.3956, allocations: 12.11 kB / 438.4 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/0.3956, allocations: 15.44 kB / 438.4 MB, free: 236 kB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3956, allocations: 3.938 kB / 438.4 MB, free: 232 kB / 334.1 MB Notification: Performance of Templates: time 0.004258/0.3999, allocations: 0.8017 MB / 439.2 MB, free: 15.44 MB / 350.1 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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 5.106952009999077]