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.001429/0.001429, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001812/0.001812, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.538/1.538, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001718/0.001718, allocations: 51.92 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2764, allocations: 53.37 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003012/0.2794, allocations: 1.613 MB / 433.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.2805, allocations: 0.5336 MB / 433.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.524e-05/0.2806, allocations: 4 kB / 433.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.2807, allocations: 7.875 kB / 433.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.2808, allocations: 15.86 kB / 433.8 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.2812, allocations: 63.81 kB / 433.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.2813, allocations: 67.7 kB / 433.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.2814, allocations: 15.97 kB / 433.9 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.2815, allocations: 35.92 kB / 433.9 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.689e-05/0.2816, allocations: 27.84 kB / 434 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.2816, allocations: 11.92 kB / 434 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.504e-05/0.2817, allocations: 8 kB / 434 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.598e-05/0.2817, allocations: 19.92 kB / 434 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.2818, allocations: 23.81 kB / 434 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.2819, allocations: 81.84 kB / 434.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.282, allocations: 0 / 434.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.282, allocations: 0 / 434.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.282, allocations: 0 / 434.1 MB, free: 4.188 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.0005464/0.2825, allocations: 325.8 kB / 434.4 MB, free: 3.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.2825, allocations: 12.03 kB / 434.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002328/0.2828, allocations: 28.86 kB / 434.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.283, allocations: 146.3 kB / 434.6 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.2831, allocations: 8.297 kB / 434.6 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.2831, allocations: 4.375 kB / 434.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.2834, allocations: 130.2 kB / 434.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2834, allocations: 3.984 kB / 434.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.2834, allocations: 0 / 434.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.309e-05/0.2834, allocations: 7.938 kB / 434.8 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.2836, allocations: 31.97 kB / 434.8 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/0.2841, allocations: 321.5 kB / 435.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.2842, allocations: 91.78 kB / 435.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.798e-05/0.2843, allocations: 34.56 kB / 435.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.2843, allocations: 0 / 435.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.2844, allocations: 38.55 kB / 435.3 MB, free: 2.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2844, allocations: 0 / 435.3 MB, free: 2.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003855/0.2848, allocations: 125.7 kB / 435.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.321e-05/0.2849, allocations: 106.8 kB / 435.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.285, allocations: 154.2 kB / 435.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.285, allocations: 29.7 kB / 435.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.064e-05/0.2851, allocations: 100.1 kB / 435.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.2851, allocations: 3.953 kB / 435.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.2852, allocations: 17.72 kB / 435.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.2853, allocations: 322.8 kB / 436.1 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.711e-05/0.2854, allocations: 11.98 kB / 436.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.313e-05/0.2855, allocations: 43.42 kB / 436.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.2856, allocations: 71.33 kB / 436.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2856, allocations: 3.938 kB / 436.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000197/0.2858, allocations: 85.59 kB / 436.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2858, allocations: 12.03 kB / 436.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.2859, allocations: 0 / 436.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.2859, allocations: 3.984 kB / 436.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.113e-05/0.286, allocations: 8 kB / 436.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.286, allocations: 4 kB / 436.4 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.148e-05/0.286, allocations: 11.98 kB / 436.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.286, allocations: 4 kB / 436.4 MB, free: 1.68 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.0001045/0.2861, allocations: 125.8 kB / 436.5 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.911e-05/0.2862, allocations: 57.55 kB / 436.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.2863, allocations: 19.91 kB / 436.6 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.2863, allocations: 4 kB / 436.6 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2863, allocations: 0 / 436.6 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2863, allocations: 0 / 436.6 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.2865, allocations: 129.2 kB / 436.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2865, allocations: 0 / 436.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.804e-05/0.2866, allocations: 11.92 kB / 436.7 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2866, allocations: 4 kB / 436.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.2866, allocations: 0 / 436.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2866, allocations: 0 / 436.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2866, allocations: 8.031 kB / 436.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.2869, allocations: 279.6 kB / 437 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.2869, allocations: 15.92 kB / 437 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.287, allocations: 4 kB / 437 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.2871, allocations: 7.984 kB / 437 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.2871, allocations: 4 kB / 437 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.2871, allocations: 4 kB / 437 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.2872, allocations: 120 kB / 437.1 MB, free: 0.832 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2872, allocations: 0 / 437.1 MB, free: 0.832 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.2875, allocations: 16 kB / 437.2 MB, free: 0.8164 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.0001071/0.2876, allocations: 103.1 kB / 437.3 MB, free: 0.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.2878, allocations: 51.91 kB / 437.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2878, allocations: 0 / 437.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.095e-05/0.2879, allocations: 19.92 kB / 437.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.2883, allocations: 36.31 kB / 437.4 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.2888, allocations: 205 kB / 437.6 MB, free: 380 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.2889, allocations: 81 kB / 437.6 MB, free: 268 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.193e-05/0.2889, allocations: 7.984 kB / 437.7 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.289, allocations: 11.44 kB / 437.7 MB, free: 252 kB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.289, allocations: 0 / 437.7 MB, free: 252 kB / 334.1 MB Notification: Performance of Templates: time 0.003671/0.2926, allocations: 0.794 MB / 438.5 MB, free: 15.47 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/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_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.4856694508343935]