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.00116/0.00116, allocations: 80.62 kB / 22.21 MB, free: 2.293 MB / 18.57 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.001106/0.001106, allocations: 145.9 kB / 25.59 MB, free: 8.109 MB / 18.57 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.9812/0.9812, allocations: 173.4 MB / 202.2 MB, free: 8.312 MB / 186.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.834e-06/1.834e-06, allocations: 0 / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.802e-05, allocations: 3.062 kB / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003418/0.003446, allocations: 1.658 MB / 270.9 MB, free: 8.121 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009359/0.004382, allocations: 467.7 kB / 271.3 MB, free: 7.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.004482, allocations: 7.938 kB / 271.3 MB, free: 7.652 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.004606, allocations: 12.61 kB / 271.3 MB, free: 7.641 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.004731, allocations: 12.56 kB / 271.4 MB, free: 7.629 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.005041, allocations: 56.47 kB / 271.4 MB, free: 7.574 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.005186, allocations: 59.72 kB / 271.5 MB, free: 7.516 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.005304, allocations: 14.95 kB / 271.5 MB, free: 7.504 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.005417, allocations: 31.91 kB / 271.5 MB, free: 7.473 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.696e-05/0.005484, allocations: 23.95 kB / 271.5 MB, free: 7.449 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.005506, allocations: 4 kB / 271.5 MB, free: 7.445 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.436e-05/0.00552, allocations: 4 kB / 271.5 MB, free: 7.441 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.723e-05/0.005577, allocations: 19.88 kB / 271.6 MB, free: 7.422 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.00561, allocations: 11.98 kB / 271.6 MB, free: 7.41 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.005747, allocations: 56.73 kB / 271.6 MB, free: 7.355 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.005751, allocations: 3.984 kB / 271.6 MB, free: 7.352 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005752, allocations: 0 / 271.6 MB, free: 7.352 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.005756, allocations: 4 kB / 271.6 MB, free: 7.348 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.0004938/0.00625, allocations: 416.1 kB / 272 MB, free: 6.906 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.006289, allocations: 12.03 kB / 272.1 MB, free: 6.895 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.006332, allocations: 16.84 kB / 272.1 MB, free: 6.879 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.006523, allocations: 144.3 kB / 272.2 MB, free: 6.711 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.006537, allocations: 12.36 kB / 272.2 MB, free: 6.699 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.006546, allocations: 384 / 272.2 MB, free: 6.699 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.006779, allocations: 125.3 kB / 272.3 MB, free: 6.547 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.006788, allocations: 192 / 272.3 MB, free: 6.547 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.006796, allocations: 384 / 272.3 MB, free: 6.547 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.222e-05/0.006828, allocations: 7.938 kB / 272.4 MB, free: 6.539 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.779e-05/0.006866, allocations: 15.86 kB / 272.4 MB, free: 6.523 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.007268, allocations: 391 kB / 272.8 MB, free: 6.105 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.007373, allocations: 89.17 kB / 272.8 MB, free: 5.98 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.757e-05/0.007411, allocations: 31.12 kB / 272.9 MB, free: 5.938 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.007425, allocations: 4 kB / 272.9 MB, free: 5.934 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.007456, allocations: 37.39 kB / 272.9 MB, free: 5.887 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.007458, allocations: 0 / 272.9 MB, free: 5.887 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002051/0.007663, allocations: 69.5 kB / 273 MB, free: 5.812 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.007725, allocations: 106.8 kB / 273.1 MB, free: 5.684 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.007867, allocations: 204.9 kB / 273.3 MB, free: 5.469 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.007882, allocations: 29.7 kB / 273.3 MB, free: 5.434 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/0.007947, allocations: 138.8 kB / 273.4 MB, free: 5.293 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.007967, allocations: 8.328 kB / 273.5 MB, free: 5.285 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.00801, allocations: 31.36 kB / 273.5 MB, free: 5.246 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.008163, allocations: 496.1 kB / 274 MB, free: 4.75 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.008181, allocations: 0 / 274 MB, free: 4.75 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.713e-05/0.008208, allocations: 23.36 kB / 274 MB, free: 4.719 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.365e-05/0.008251, allocations: 19.38 kB / 274 MB, free: 4.691 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.008253, allocations: 0 / 274 MB, free: 4.691 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.811e-05/0.008351, allocations: 53.58 kB / 274.1 MB, free: 4.633 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.008368, allocations: 7.938 kB / 274.1 MB, free: 4.625 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.008374, allocations: 8.125 kB / 274.1 MB, free: 4.617 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.008384, allocations: 0 / 274.1 MB, free: 4.617 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.406e-05/0.008458, allocations: 7.984 kB / 274.1 MB, free: 4.609 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.008461, allocations: 0 / 274.1 MB, free: 4.609 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.651e-05/0.008497, allocations: 7.938 kB / 274.1 MB, free: 4.602 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.008505, allocations: 0 / 274.1 MB, free: 4.602 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 8.878e-05/0.008594, allocations: 156.6 kB / 274.2 MB, free: 4.438 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.773e-05/0.008682, allocations: 41.64 kB / 274.3 MB, free: 4.391 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/0.008719, allocations: 19.86 kB / 274.3 MB, free: 4.367 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.008733, allocations: 4.031 kB / 274.3 MB, free: 4.363 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.008735, allocations: 4 kB / 274.3 MB, free: 4.359 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.008738, allocations: 0 / 274.3 MB, free: 4.359 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.008948, allocations: 117.2 kB / 274.4 MB, free: 4.219 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.008952, allocations: 3.984 kB / 274.4 MB, free: 4.215 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.407e-05/0.008997, allocations: 4 kB / 274.4 MB, free: 4.211 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.008999, allocations: 3.938 kB / 274.4 MB, free: 4.207 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.009007, allocations: 8 kB / 274.5 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.009011, allocations: 3.938 kB / 274.5 MB, free: 4.195 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.009015, allocations: 3.938 kB / 274.5 MB, free: 4.191 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.00921, allocations: 322.8 kB / 274.8 MB, free: 3.852 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.009256, allocations: 27.86 kB / 274.8 MB, free: 3.824 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.009273, allocations: 4 kB / 274.8 MB, free: 3.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.009381, allocations: 0 / 274.8 MB, free: 3.82 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.00942, allocations: 11.92 kB / 274.8 MB, free: 3.809 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.009425, allocations: 0 / 274.8 MB, free: 3.809 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.65e-05/0.009501, allocations: 151.1 kB / 275 MB, free: 3.66 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009501, allocations: 0 / 275 MB, free: 3.66 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003127/0.009814, allocations: 8 kB / 275 MB, free: 3.652 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 0.0001065/0.009921, allocations: 103.2 kB / 275.1 MB, free: 3.543 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.918e-05/0.01001, allocations: 19.67 kB / 275.1 MB, free: 3.52 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01001, allocations: 0 / 275.1 MB, free: 3.52 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.787e-05/0.01004, allocations: 19.62 kB / 275.1 MB, free: 3.496 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.01048, allocations: 16.48 kB / 275.1 MB, free: 3.477 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005677/0.01105, allocations: 206 kB / 275.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.809e-05/0.01111, allocations: 71.33 kB / 275.4 MB, free: 3.145 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.871e-05/0.01115, allocations: 0 / 275.4 MB, free: 3.145 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.784e-05/0.01123, allocations: 78.19 kB / 275.5 MB, free: 3.066 MB / 250.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01123, allocations: 3.938 kB / 275.5 MB, free: 3.062 MB / 250.7 MB Notification: Performance of Templates: time 0.003196/0.01442, allocations: 0.7993 MB / 276.3 MB, free: 2.297 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6825264948420227]