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.00159/0.00159, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001776/0.001776, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.536/1.536, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.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 0.002232/0.002232, allocations: 63.91 kB / 378.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3268, allocations: 53.4 MB / 431.6 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003706/0.3305, allocations: 1.625 MB / 433.3 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.3319, allocations: 0.522 MB / 433.8 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.332, allocations: 4 kB / 433.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.3321, allocations: 15.86 kB / 433.8 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.3323, allocations: 15.86 kB / 433.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.3326, allocations: 67.8 kB / 433.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.3328, allocations: 63.72 kB / 433.9 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.3329, allocations: 7.984 kB / 433.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.3331, allocations: 43.84 kB / 434 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.503e-05/0.3331, allocations: 23.86 kB / 434 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.3332, allocations: 7.938 kB / 434 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.929e-05/0.3332, allocations: 12 kB / 434 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.493e-05/0.3333, allocations: 23.84 kB / 434.1 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.631e-05/0.3333, allocations: 27.86 kB / 434.1 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.3335, allocations: 77.86 kB / 434.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3335, allocations: 0 / 434.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3335, allocations: 0 / 434.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3335, allocations: 0 / 434.2 MB, free: 4.023 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.0006186/0.3342, allocations: 317.8 kB / 434.5 MB, free: 3.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.3342, allocations: 19.97 kB / 434.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002583/0.3345, allocations: 28.88 kB / 434.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.3348, allocations: 154.9 kB / 434.7 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.3348, allocations: 384 / 434.7 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.3348, allocations: 8.375 kB / 434.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.3352, allocations: 126.2 kB / 434.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3352, allocations: 3.984 kB / 434.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3352, allocations: 7.938 kB / 434.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.803e-05/0.3352, allocations: 8 kB / 434.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.3353, allocations: 35.91 kB / 434.9 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/0.336, allocations: 317.6 kB / 435.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.3361, allocations: 91.7 kB / 435.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.295e-05/0.3362, allocations: 34.62 kB / 435.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.3363, allocations: 4 kB / 435.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.023e-05/0.3363, allocations: 38.5 kB / 435.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.452e-06/0.3363, allocations: 0 / 435.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004048/0.3367, allocations: 117.5 kB / 435.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.3368, allocations: 102.8 kB / 435.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.337, allocations: 162.2 kB / 435.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.337, allocations: 26.08 kB / 435.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.3372, allocations: 100.1 kB / 435.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.3372, allocations: 7.953 kB / 435.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.3373, allocations: 17.7 kB / 435.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3375, allocations: 318.8 kB / 436.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.899e-05/0.3375, allocations: 19.97 kB / 436.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.615e-05/0.3376, allocations: 47.36 kB / 436.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.3378, allocations: 63.41 kB / 436.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3378, allocations: 3.938 kB / 436.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002156/0.338, allocations: 93.42 kB / 436.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.338, allocations: 8 kB / 436.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.338, allocations: 0 / 436.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.338, allocations: 0 / 436.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.3382, allocations: 16.11 kB / 436.4 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3382, allocations: 4 kB / 436.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-05/0.3382, allocations: 4 kB / 436.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.3382, allocations: 0 / 436.4 MB, free: 1.512 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.0001136/0.3383, allocations: 129.7 kB / 436.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.3385, allocations: 57.59 kB / 436.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.797e-05/0.3385, allocations: 15.92 kB / 436.6 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.3385, allocations: 4 kB / 436.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.3385, allocations: 3.984 kB / 436.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3385, allocations: 32 / 436.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.3387, allocations: 129.2 kB / 436.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.3387, allocations: 11.92 kB / 436.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.994e-05/0.3388, allocations: 4 kB / 436.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.3388, allocations: 4 kB / 436.8 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3388, allocations: 0 / 436.8 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.3388, allocations: 3.984 kB / 436.8 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.3388, allocations: 4 kB / 436.8 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.3392, allocations: 271.5 kB / 437 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.3392, allocations: 19.94 kB / 437.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.3392, allocations: 4 kB / 437.1 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.3393, allocations: 7.984 kB / 437.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.3394, allocations: 3.984 kB / 437.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.3394, allocations: 4 kB / 437.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.3395, allocations: 116.1 kB / 437.2 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3395, allocations: 0 / 437.2 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.3398, allocations: 8 kB / 437.2 MB, free: 0.6562 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.0002511/0.34, allocations: 99.19 kB / 437.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.3403, allocations: 59.89 kB / 437.4 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3403, allocations: 0 / 437.4 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.704e-05/0.3403, allocations: 23.92 kB / 437.4 MB, free: 480 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.3408, allocations: 27.33 kB / 437.4 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004732/0.3413, allocations: 201.6 kB / 437.6 MB, free: 224 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.3414, allocations: 92.98 kB / 437.7 MB, free: 100 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.209e-05/0.3415, allocations: 11.97 kB / 437.7 MB, free: 88 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.3415, allocations: 15.38 kB / 437.7 MB, free: 76 kB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3415, allocations: 3.938 kB / 437.7 MB, free: 72 kB / 334.1 MB Notification: Performance of Templates: time 0.004006/0.3455, allocations: 0.7902 MB / 438.5 MB, free: 15.3 MB / 350.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.738469505682588]