Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002255/0.002255, allocations: 214.8 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.513/1.513, allocations: 230.6 MB / 258.3 MB, free: 7.746 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 55.91 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2686, allocations: 53.37 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003045/0.2717, allocations: 1.629 MB / 434 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.2727, allocations: 0.5182 MB / 434.5 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.2728, allocations: 7.938 kB / 434.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.481e-05/0.2729, allocations: 3.938 kB / 434.5 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.273, allocations: 23.84 kB / 434.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.2733, allocations: 59.81 kB / 434.6 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.2735, allocations: 63.72 kB / 434.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.2736, allocations: 19.97 kB / 434.7 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.2737, allocations: 39.86 kB / 434.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.2738, allocations: 27.84 kB / 434.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.2738, allocations: 4 kB / 434.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.6e-05/0.2739, allocations: 8 kB / 434.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.2739, allocations: 27.84 kB / 434.8 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.295e-05/0.274, allocations: 23.81 kB / 434.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.2741, allocations: 78.33 kB / 434.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.2741, allocations: 0 / 434.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2741, allocations: 0 / 434.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.2741, allocations: 4 kB / 434.9 MB, free: 4.191 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.0005518/0.2747, allocations: 317.8 kB / 435.2 MB, free: 3.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2747, allocations: 12.03 kB / 435.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002371/0.275, allocations: 32.86 kB / 435.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.2752, allocations: 154.2 kB / 435.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.2752, allocations: 384 / 435.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.2753, allocations: 4.375 kB / 435.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.2756, allocations: 138.1 kB / 435.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2756, allocations: 0 / 435.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.2756, allocations: 0 / 435.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.2756, allocations: 7.938 kB / 435.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.2757, allocations: 35.91 kB / 435.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.2762, allocations: 313.6 kB / 435.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.2764, allocations: 91.72 kB / 436 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.603e-05/0.2765, allocations: 34.62 kB / 436 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.2765, allocations: 0 / 436 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.2765, allocations: 46.47 kB / 436 MB, free: 2.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.2765, allocations: 0 / 436 MB, free: 2.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003721/0.2769, allocations: 121.8 kB / 436.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.277, allocations: 102.8 kB / 436.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.2771, allocations: 154.2 kB / 436.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.2771, allocations: 29.7 kB / 436.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.2772, allocations: 100.1 kB / 436.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.2772, allocations: 3.953 kB / 436.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.2773, allocations: 17.72 kB / 436.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2774, allocations: 318.8 kB / 436.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.006e-05/0.2775, allocations: 15.98 kB / 436.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.154e-05/0.2776, allocations: 55.41 kB / 436.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.2777, allocations: 67.33 kB / 437 MB, free: 1.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.2777, allocations: 3.938 kB / 437 MB, free: 1.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001948/0.2779, allocations: 85.59 kB / 437.1 MB, free: 1.723 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.2779, allocations: 8 kB / 437.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2779, allocations: 0 / 437.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.2779, allocations: 7.984 kB / 437.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.625e-05/0.278, allocations: 8 kB / 437.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.278, allocations: 4 kB / 437.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.709e-05/0.2781, allocations: 7.984 kB / 437.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.2781, allocations: 0 / 437.1 MB, free: 1.688 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 9.86e-05/0.2782, allocations: 133.7 kB / 437.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.423e-05/0.2783, allocations: 53.7 kB / 437.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/0.2783, allocations: 19.91 kB / 437.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.2784, allocations: 4 kB / 437.3 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2784, allocations: 0 / 437.3 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2784, allocations: 3.938 kB / 437.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.2786, allocations: 129.2 kB / 437.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2786, allocations: 0 / 437.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.177e-05/0.2786, allocations: 7.984 kB / 437.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.2786, allocations: 4 kB / 437.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.2786, allocations: 0 / 437.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2786, allocations: 4.031 kB / 437.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.2786, allocations: 4 kB / 437.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.2789, allocations: 275.5 kB / 437.7 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.279, allocations: 15.88 kB / 437.8 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.279, allocations: 4 kB / 437.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.2791, allocations: 7.984 kB / 437.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.2791, allocations: 4 kB / 437.8 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.2791, allocations: 4 kB / 437.8 MB, free: 0.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.968e-05/0.2792, allocations: 120 kB / 437.9 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2792, allocations: 4 kB / 437.9 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.2795, allocations: 12 kB / 437.9 MB, free: 0.8242 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.0001062/0.2796, allocations: 99.19 kB / 438 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.2798, allocations: 51.91 kB / 438.1 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2798, allocations: 0 / 438.1 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.128e-05/0.2799, allocations: 28.22 kB / 438.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.2803, allocations: 27.95 kB / 438.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/0.2808, allocations: 234.7 kB / 438.3 MB, free: 356 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.2809, allocations: 84.92 kB / 438.4 MB, free: 240 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.2809, allocations: 11.44 kB / 438.4 MB, free: 232 kB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2809, allocations: 0 / 438.4 MB, free: 232 kB / 334.1 MB Notification: Performance of Templates: time 0.002739/0.2836, allocations: 1.011 MB / 439.5 MB, free: 15.22 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.896925957000349]