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.001536/0.001536, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 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.002/0.002, allocations: 185 kB / 24.46 MB, free: 3.863 MB / 14.72 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 1.523/1.523, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] 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.1.|sample1.y.2.",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.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 43.94 kB / 371.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2332, allocations: 52.19 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003006/0.2362, allocations: 1.608 MB / 425.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008812/0.2371, allocations: 454.9 kB / 425.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.409e-05/0.2372, allocations: 0 / 425.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.565e-05/0.2373, allocations: 15.86 kB / 425.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.2374, allocations: 11.88 kB / 425.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.2376, allocations: 51.81 kB / 426 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.2377, allocations: 59.78 kB / 426 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.2378, allocations: 4 kB / 426 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.393e-05/0.2379, allocations: 39.84 kB / 426.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.566e-05/0.238, allocations: 27.84 kB / 426.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.238, allocations: 7.938 kB / 426.1 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.722e-05/0.238, allocations: 4 kB / 426.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.513e-05/0.2381, allocations: 15.94 kB / 426.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.2381, allocations: 19.86 kB / 426.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.2383, allocations: 74.33 kB / 426.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2383, allocations: 0 / 426.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2383, allocations: 3.938 kB / 426.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.2383, allocations: 4 kB / 426.2 MB, free: 12.11 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.0005306/0.2388, allocations: 329.8 kB / 426.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2388, allocations: 8.031 kB / 426.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.2389, allocations: 8.891 kB / 426.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.2391, allocations: 146.3 kB / 426.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.2391, allocations: 4.375 kB / 426.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.2391, allocations: 4.375 kB / 426.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.2395, allocations: 134.1 kB / 426.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2395, allocations: 4 kB / 426.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.2395, allocations: 4 kB / 426.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.2395, allocations: 7.984 kB / 426.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.2396, allocations: 35.91 kB / 426.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.2401, allocations: 309.6 kB / 427.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.2402, allocations: 87.7 kB / 427.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.785e-05/0.2403, allocations: 42.62 kB / 427.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.2403, allocations: 0 / 427.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.2404, allocations: 42.5 kB / 427.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2404, allocations: 0 / 427.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003694/0.2408, allocations: 113.5 kB / 427.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/0.2408, allocations: 106.8 kB / 427.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.241, allocations: 154.1 kB / 427.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.241, allocations: 33.64 kB / 427.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.126e-05/0.2411, allocations: 96.09 kB / 427.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.2411, allocations: 3.953 kB / 427.9 MB, free: 10.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.2411, allocations: 21.7 kB / 427.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2413, allocations: 318.8 kB / 428.2 MB, free: 9.914 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.049e-05/0.2413, allocations: 15.98 kB / 428.2 MB, free: 9.898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.496e-05/0.2414, allocations: 51.33 kB / 428.3 MB, free: 9.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.2416, allocations: 67.34 kB / 428.3 MB, free: 9.758 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.2416, allocations: 3.938 kB / 428.3 MB, free: 9.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002012/0.2418, allocations: 85.55 kB / 428.4 MB, free: 9.664 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.2418, allocations: 10.5 kB / 428.4 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.2418, allocations: 128 / 428.4 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2419, allocations: 4 kB / 428.4 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.242, allocations: 15.98 kB / 428.4 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.242, allocations: 0 / 428.4 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.919e-05/0.242, allocations: 8 kB / 428.4 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.242, allocations: 0 / 428.4 MB, free: 9.629 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.0001063/0.2421, allocations: 129.7 kB / 428.6 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.273e-05/0.2422, allocations: 49.64 kB / 428.6 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.2423, allocations: 11.97 kB / 428.6 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.2423, allocations: 4 kB / 428.6 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2423, allocations: 4.031 kB / 428.6 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2423, allocations: 0 / 428.6 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.2425, allocations: 133.2 kB / 428.8 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2425, allocations: 0 / 428.8 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.248e-05/0.2426, allocations: 7.984 kB / 428.8 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.2426, allocations: 4 kB / 428.8 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.2426, allocations: 7.922 kB / 428.8 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2426, allocations: 0 / 428.8 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2426, allocations: 0 / 428.8 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.2429, allocations: 287.4 kB / 429.1 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.434e-05/0.2429, allocations: 15.94 kB / 429.1 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.243, allocations: 4 kB / 429.1 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.2431, allocations: 0 / 429.1 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.2431, allocations: 11.98 kB / 429.1 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.2431, allocations: 0 / 429.1 MB, free: 8.902 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.2432, allocations: 122 kB / 429.2 MB, free: 8.785 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2432, allocations: 0 / 429.2 MB, free: 8.785 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000276/0.2435, allocations: 8 kB / 429.2 MB, free: 8.777 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.0001053/0.2436, allocations: 99.25 kB / 429.3 MB, free: 8.672 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.2438, allocations: 51.89 kB / 429.4 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2438, allocations: 0 / 429.4 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.205e-05/0.2439, allocations: 23.92 kB / 429.4 MB, free: 8.598 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.2443, allocations: 31.89 kB / 429.4 MB, free: 8.566 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/0.2448, allocations: 239.7 kB / 429.7 MB, free: 8.289 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.2449, allocations: 94.48 kB / 429.8 MB, free: 8.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.2449, allocations: 15.38 kB / 429.8 MB, free: 8.164 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2449, allocations: 0 / 429.8 MB, free: 8.164 MB / 334.1 MB Notification: Performance of Templates: time 0.002692/0.2476, allocations: 0.9496 MB / 430.7 MB, free: 7.215 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.970359615981579]