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.0008837/0.0008837, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004741/0.005624, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.00089/0.00089, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001151/0.002041, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9204/0.9204, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08506/1.005, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.62e-07/9.62e-07, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.087e-06/1.005e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001713/0.001723, allocations: 1.72 MB / 246.7 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005709/0.002294, allocations: 0.5576 MB / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.403e-05/0.002358, allocations: 8 kB / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.922e-05/0.002407, allocations: 11.88 kB / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.755e-05/0.002465, allocations: 19.84 kB / 247.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.002634, allocations: 59.75 kB / 247.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.846e-05/0.002733, allocations: 67.7 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.621e-05/0.002809, allocations: 15.98 kB / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.002919, allocations: 55.83 kB / 247.5 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.575e-05/0.002965, allocations: 15.98 kB / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.00298, allocations: 4 kB / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.785e-05/0.003028, allocations: 15.94 kB / 247.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.818e-05/0.003066, allocations: 19.86 kB / 247.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.251e-05/0.003089, allocations: 15.94 kB / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.003196, allocations: 55.77 kB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.003207, allocations: 0 / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.003208, allocations: 0 / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.003219, allocations: 0 / 247.7 MB, free: 10.98 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.0003509/0.00357, allocations: 312 kB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.0036, allocations: 12.03 kB / 248 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.003757, allocations: 102 kB / 248.1 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.003903, allocations: 150.3 kB / 248.2 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.003911, allocations: 4.312 kB / 248.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.003919, allocations: 4.375 kB / 248.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.004077, allocations: 116.8 kB / 248.3 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.471e-06/0.004082, allocations: 192 / 248.3 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-06/0.004088, allocations: 384 / 248.3 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.004115, allocations: 23.91 kB / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.158e-05/0.004137, allocations: 6.828 kB / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.004338, allocations: 262.9 kB / 248.6 MB, free: 9.895 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.429e-05/0.004392, allocations: 58.62 kB / 248.7 MB, free: 9.809 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.86e-05/0.004411, allocations: 18.64 kB / 248.7 MB, free: 9.781 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.00442, allocations: 0 / 248.7 MB, free: 9.781 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.004443, allocations: 38.56 kB / 248.7 MB, free: 9.734 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.72e-07/0.004443, allocations: 0 / 248.7 MB, free: 9.734 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001128/0.004556, allocations: 65.48 kB / 248.8 MB, free: 9.664 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.004602, allocations: 102.8 kB / 248.9 MB, free: 9.539 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.957e-05/0.004672, allocations: 154.6 kB / 249.1 MB, free: 9.375 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.00468, allocations: 25.7 kB / 249.1 MB, free: 9.344 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.004714, allocations: 88.12 kB / 249.2 MB, free: 9.254 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.004729, allocations: 11.89 kB / 249.2 MB, free: 9.242 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.004755, allocations: 17.7 kB / 249.2 MB, free: 9.219 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002846/0.005039, allocations: 314.8 kB / 249.5 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.818e-06/0.005049, allocations: 4.375 kB / 249.5 MB, free: 8.898 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.421e-05/0.005063, allocations: 17.7 kB / 249.5 MB, free: 8.875 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/0.00509, allocations: 32.47 kB / 249.6 MB, free: 8.836 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.005092, allocations: 0 / 249.6 MB, free: 8.836 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.578e-05/0.005137, allocations: 41.62 kB / 249.6 MB, free: 8.789 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.005148, allocations: 7.938 kB / 249.6 MB, free: 8.781 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.005153, allocations: 3.938 kB / 249.6 MB, free: 8.777 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.005161, allocations: 8 kB / 249.6 MB, free: 8.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.056e-05/0.005212, allocations: 7.984 kB / 249.6 MB, free: 8.762 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.005214, allocations: 4.125 kB / 249.6 MB, free: 8.758 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.005231, allocations: 4 kB / 249.6 MB, free: 8.754 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.005236, allocations: 0 / 249.6 MB, free: 8.754 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 4.571e-05/0.005281, allocations: 112.7 kB / 249.7 MB, free: 8.633 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.005318, allocations: 41.62 kB / 249.8 MB, free: 8.586 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.005343, allocations: 19.89 kB / 249.8 MB, free: 8.566 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.005351, allocations: 0 / 249.8 MB, free: 8.566 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.005353, allocations: 4 kB / 249.8 MB, free: 8.562 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.005356, allocations: 0 / 249.8 MB, free: 8.562 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.005458, allocations: 81.83 kB / 249.9 MB, free: 8.465 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.005459, allocations: 4.031 kB / 249.9 MB, free: 8.461 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.988e-05/0.005479, allocations: 7.984 kB / 249.9 MB, free: 8.453 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.397e-05/0.005503, allocations: 15.95 kB / 249.9 MB, free: 8.438 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.005504, allocations: 0 / 249.9 MB, free: 8.438 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.005509, allocations: 3.984 kB / 249.9 MB, free: 8.434 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.005513, allocations: 7.938 kB / 249.9 MB, free: 8.426 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.005515, allocations: 3.984 kB / 249.9 MB, free: 8.422 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.414e-05/0.005599, allocations: 222.4 kB / 250.2 MB, free: 8.184 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.005609, allocations: 0 / 250.2 MB, free: 8.184 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.824e-05/0.005657, allocations: 8.031 kB / 250.2 MB, free: 8.176 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.005682, allocations: 11.92 kB / 250.2 MB, free: 8.164 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.005685, allocations: 0 / 250.2 MB, free: 8.164 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.39e-05/0.005709, allocations: 32.83 kB / 250.2 MB, free: 8.129 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005709, allocations: 0 / 250.2 MB, free: 8.129 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000134/0.005843, allocations: 8 kB / 250.2 MB, free: 8.121 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 6.021e-05/0.005903, allocations: 80.41 kB / 250.3 MB, free: 8.031 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.369e-05/0.005957, allocations: 16.8 kB / 250.3 MB, free: 8.012 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.005962, allocations: 8.125 kB / 250.3 MB, free: 8.004 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.26e-05/0.005975, allocations: 12.84 kB / 250.3 MB, free: 7.988 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.006203, allocations: 27.41 kB / 250.4 MB, free: 7.957 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006811/0.006884, allocations: 220.8 kB / 250.6 MB, free: 7.703 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.868e-05/0.006923, allocations: 63.34 kB / 250.6 MB, free: 7.621 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.297e-05/0.006946, allocations: 4.203 kB / 250.6 MB, free: 7.617 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.056e-05/0.006996, allocations: 67.36 kB / 250.7 MB, free: 7.551 MB / 250.7 MB Notification: Performance of SimCode: time 4.459e-06/0.007001, allocations: 0 / 250.7 MB, free: 7.551 MB / 250.7 MB Notification: Performance of Templates: time 0.002024/0.009025, allocations: 0.7588 MB / 251.5 MB, free: 6.816 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.361398068256676]