Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001463/0.001463, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001666/0.001666, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.648/1.648, allocations: 230.6 MB / 258.3 MB, free: 8.039 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 60.56 kB / 379.1 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3279, allocations: 53.36 MB / 432.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003831/0.3318, allocations: 1.652 MB / 434.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.333, allocations: 0.5725 MB / 434.6 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.3331, allocations: 4 kB / 434.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.3333, allocations: 7.875 kB / 434.6 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.3334, allocations: 19.86 kB / 434.7 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.3338, allocations: 59.81 kB / 434.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.3339, allocations: 71.7 kB / 434.8 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.3341, allocations: 11.98 kB / 434.8 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.3342, allocations: 35.92 kB / 434.8 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.933e-05/0.3343, allocations: 27.84 kB / 434.9 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.3343, allocations: 7.938 kB / 434.9 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.863e-05/0.3344, allocations: 11.98 kB / 434.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.758e-05/0.3344, allocations: 19.88 kB / 434.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.427e-05/0.3345, allocations: 31.8 kB / 434.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.3347, allocations: 81.28 kB / 435 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3347, allocations: 0 / 435 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3347, allocations: 0 / 435 MB, free: 4.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.3347, allocations: 0 / 435 MB, free: 4.363 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.0006788/0.3354, allocations: 325.8 kB / 435.3 MB, free: 4.016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3354, allocations: 8.031 kB / 435.3 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/0.3357, allocations: 24.88 kB / 435.4 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.336, allocations: 154.3 kB / 435.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.336, allocations: 4.312 kB / 435.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.3361, allocations: 4.375 kB / 435.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.3365, allocations: 134.2 kB / 435.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3365, allocations: 4 kB / 435.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3365, allocations: 3.938 kB / 435.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/0.3365, allocations: 3.984 kB / 435.7 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.3366, allocations: 35.97 kB / 435.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005841/0.3372, allocations: 352.9 kB / 436 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.3374, allocations: 79.78 kB / 436.1 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.3375, allocations: 42.61 kB / 436.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.3375, allocations: 4 kB / 436.2 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.3376, allocations: 30.56 kB / 436.2 MB, free: 3.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.3376, allocations: 3.938 kB / 436.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003979/0.338, allocations: 117.8 kB / 436.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/0.338, allocations: 106.9 kB / 436.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.3382, allocations: 154.2 kB / 436.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.3382, allocations: 25.7 kB / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.128e-05/0.3383, allocations: 104 kB / 436.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.3383, allocations: 7.953 kB / 436.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.3384, allocations: 13.72 kB / 436.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.3386, allocations: 326.8 kB / 437 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.696e-05/0.3387, allocations: 19.98 kB / 437.1 MB, free: 2.082 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.863e-05/0.3388, allocations: 43.41 kB / 437.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.3389, allocations: 67.34 kB / 437.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3389, allocations: 0 / 437.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002043/0.3391, allocations: 93.48 kB / 437.3 MB, free: 1.852 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3391, allocations: 4 kB / 437.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3391, allocations: 0 / 437.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.3392, allocations: 4.125 kB / 437.3 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.3393, allocations: 12 kB / 437.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.3393, allocations: 3.984 kB / 437.3 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.747e-05/0.3393, allocations: 8 kB / 437.3 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3393, allocations: 4 kB / 437.3 MB, free: 1.816 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.0001105/0.3394, allocations: 121.8 kB / 437.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.3395, allocations: 53.59 kB / 437.5 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/0.3396, allocations: 19.91 kB / 437.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.3396, allocations: 8.031 kB / 437.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3396, allocations: 0 / 437.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3396, allocations: 4 kB / 437.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.3399, allocations: 160.6 kB / 437.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.3399, allocations: 8.031 kB / 437.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.746e-05/0.3399, allocations: 7.984 kB / 437.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3399, allocations: 3.984 kB / 437.7 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.34, allocations: 4 kB / 437.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.34, allocations: 0 / 437.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.34, allocations: 0 / 437.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.3403, allocations: 279.5 kB / 438 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.3403, allocations: 19.94 kB / 438 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.3403, allocations: 0 / 438 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.3404, allocations: 4 kB / 438 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.3405, allocations: 4 kB / 438 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.3405, allocations: 7.984 kB / 438 MB, free: 1.043 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.3406, allocations: 120.1 kB / 438.1 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3406, allocations: 0 / 438.1 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.3409, allocations: 11.94 kB / 438.1 MB, free: 0.9141 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.0001163/0.341, allocations: 100.3 kB / 438.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000288/0.3413, allocations: 64.02 kB / 438.3 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3413, allocations: 0 / 438.3 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.026e-05/0.3414, allocations: 23.92 kB / 438.3 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.3418, allocations: 20.02 kB / 438.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004673/0.3423, allocations: 201 kB / 438.5 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/0.3428, allocations: 0.7043 MB / 439.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.108e-05/0.3428, allocations: 4 kB / 439.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.3429, allocations: 15.42 kB / 439.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3429, allocations: 0 / 439.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of Templates: time 0.003817/0.3467, allocations: 0.746 MB / 440 MB, free: 15.02 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.063589450903237]