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.00156/0.00156, allocations: 86.48 kB / 20.68 MB, free: 1.035 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.00161/0.00161, allocations: 158.9 kB / 23.95 MB, free: 4.168 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.468/1.468, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.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 1.493e-06/1.493e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.56e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002927/0.002952, allocations: 1.625 MB / 326.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.004135, allocations: 0.5242 MB / 327.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.004248, allocations: 11.66 kB / 327.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.004353, allocations: 6.234 kB / 327.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.00447, allocations: 13.95 kB / 327.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.004837, allocations: 62.92 kB / 327.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.00499, allocations: 69.2 kB / 327.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.005092, allocations: 11.28 kB / 327.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.005269, allocations: 50.23 kB / 327.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.245e-05/0.005341, allocations: 18.83 kB / 327.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.005363, allocations: 3.594 kB / 327.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.778e-05/0.00541, allocations: 14.34 kB / 327.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.646e-05/0.005467, allocations: 16.61 kB / 327.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.798e-05/0.005515, allocations: 21.53 kB / 327.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.005714, allocations: 68.31 kB / 327.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.005718, allocations: 8 kB / 327.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005719, allocations: 3.938 kB / 327.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.005725, allocations: 0 / 327.5 MB, free: 14.85 MB / 302.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.0005646/0.006289, allocations: 319.4 kB / 327.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.006328, allocations: 15.14 kB / 327.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002377/0.006565, allocations: 26.45 kB / 327.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.006839, allocations: 152 kB / 328 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.006851, allocations: 3.125 kB / 328.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.006866, allocations: 10.31 kB / 328.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.007201, allocations: 123.5 kB / 328.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.007211, allocations: 192 / 328.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.007222, allocations: 384 / 328.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.834e-05/0.00726, allocations: 7.812 kB / 328.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.007408, allocations: 47.44 kB / 328.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.007898, allocations: 324.3 kB / 328.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.00806, allocations: 83.81 kB / 328.6 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.516e-05/0.008155, allocations: 36.47 kB / 328.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.008175, allocations: 1.5 kB / 328.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.008215, allocations: 42.14 kB / 328.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.008216, allocations: 3.938 kB / 328.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000389/0.008605, allocations: 119.4 kB / 328.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/0.00869, allocations: 106.8 kB / 328.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.008842, allocations: 157.5 kB / 329.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.008862, allocations: 25.7 kB / 329.1 MB, free: 13.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.459e-05/0.008926, allocations: 98.16 kB / 329.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.008944, allocations: 5.594 kB / 329.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.008988, allocations: 18.75 kB / 329.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.009143, allocations: 319.7 kB / 329.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.335e-05/0.009216, allocations: 16.53 kB / 329.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.216e-05/0.009288, allocations: 28.62 kB / 329.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.009443, allocations: 44.88 kB / 329.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.009444, allocations: 0 / 329.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001911/0.009635, allocations: 77.05 kB / 329.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.009649, allocations: 9.656 kB / 329.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.009654, allocations: 0.9375 kB / 329.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.009671, allocations: 2.047 kB / 329.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.96e-05/0.00976, allocations: 8.578 kB / 329.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.009765, allocations: 0.9688 kB / 329.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.277e-05/0.009818, allocations: 4.625 kB / 329.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.009833, allocations: 5.656 kB / 329.7 MB, free: 12.94 MB / 302.1 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 0.00011/0.009943, allocations: 122.5 kB / 329.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.01004, allocations: 52.91 kB / 329.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.01009, allocations: 17.11 kB / 329.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.01011, allocations: 4.516 kB / 329.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01011, allocations: 1.156 kB / 329.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01011, allocations: 0.8906 kB / 329.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.01033, allocations: 126.1 kB / 330.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.01033, allocations: 1 kB / 330.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7e-05/0.0104, allocations: 13.98 kB / 330.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01041, allocations: 0 / 330.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.01042, allocations: 10.83 kB / 330.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01042, allocations: 1.281 kB / 330.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.01042, allocations: 0.5156 kB / 330.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.01074, allocations: 274.5 kB / 330.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.01079, allocations: 18.27 kB / 330.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.01081, allocations: 5.531 kB / 330.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.01093, allocations: 9.5 kB / 330.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.01097, allocations: 7.234 kB / 330.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.118e-06/0.01098, allocations: 9.578 kB / 330.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.01109, allocations: 128.1 kB / 330.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01109, allocations: 0 / 330.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000278/0.01137, allocations: 10.81 kB / 330.5 MB, free: 12.26 MB / 302.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.0001103/0.01148, allocations: 99.78 kB / 330.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.01169, allocations: 44.06 kB / 330.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01169, allocations: 1.469 kB / 330.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-05/0.01178, allocations: 26.42 kB / 330.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.01221, allocations: 26.05 kB / 330.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004666/0.01268, allocations: 211.2 kB / 330.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.01279, allocations: 83.7 kB / 331 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.386e-05/0.01284, allocations: 7.781 kB / 331 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.01288, allocations: 16.5 kB / 331 MB, free: 11.88 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01288, allocations: 0 / 331 MB, free: 11.88 MB / 302.1 MB Notification: Performance of Templates: time 0.003655/0.01654, allocations: 0.7165 MB / 331.8 MB, free: 11.68 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/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: 4.357417561113834]