Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008945/0.0008945, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001143/0.002037, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008254/0.0008254, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001924, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9573/0.9573, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09264/1.05, allocations: 52.5 MB / 238.3 MB, free: 4.43 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.[0-9,]+.",fileNamePrefix="Modelica_4.0.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.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.086e-06/3.086e-06, allocations: 0 / 239.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.68e-05/3.989e-05, allocations: 2.312 kB / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003656/0.003696, allocations: 1.704 MB / 241.3 MB, free: 1.461 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000885/0.004581, allocations: 496.1 kB / 241.7 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.224e-05/0.004673, allocations: 0 / 241.7 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.828e-05/0.004751, allocations: 11.88 kB / 241.8 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.535e-05/0.004837, allocations: 19.84 kB / 241.8 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.00509, allocations: 43.77 kB / 241.8 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.005227, allocations: 63.78 kB / 241.9 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.005333, allocations: 19.92 kB / 241.9 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.005469, allocations: 43.83 kB / 241.9 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/0.005542, allocations: 15.98 kB / 242 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.00557, allocations: 4 kB / 242 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.447e-05/0.005584, allocations: 4 kB / 242 MB, free: 0.75 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.005639, allocations: 19.88 kB / 242 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.005679, allocations: 11.94 kB / 242 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.005813, allocations: 55.77 kB / 242 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.714e-05/0.005831, allocations: 0 / 242 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.005832, allocations: 0 / 242 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.005851, allocations: 4 kB / 242.1 MB, free: 0.6602 MB / 234.7 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.0005486/0.006399, allocations: 308.2 kB / 242.4 MB, free: 344 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.006444, allocations: 8.031 kB / 242.4 MB, free: 336 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.815e-05/0.006492, allocations: 8.922 kB / 242.4 MB, free: 328 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.006731, allocations: 145.5 kB / 242.5 MB, free: 156 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.006744, allocations: 4.375 kB / 242.5 MB, free: 152 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.006759, allocations: 8.312 kB / 242.5 MB, free: 144 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.007137, allocations: 128.7 kB / 242.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.007146, allocations: 192 / 242.7 MB, free: 15.99 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.007157, allocations: 384 / 242.7 MB, free: 15.99 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-05/0.007197, allocations: 7.938 kB / 242.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.917e-05/0.007237, allocations: 10.81 kB / 242.7 MB, free: 15.97 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.00756, allocations: 258.8 kB / 242.9 MB, free: 15.69 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.402e-05/0.007644, allocations: 66.7 kB / 243 MB, free: 15.6 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.007672, allocations: 18.58 kB / 243 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.007686, allocations: 8 kB / 243 MB, free: 15.56 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.007712, allocations: 30.56 kB / 243 MB, free: 15.52 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.007713, allocations: 0 / 243 MB, free: 15.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001747/0.007888, allocations: 61.5 kB / 243.1 MB, free: 15.46 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.007952, allocations: 106.8 kB / 243.2 MB, free: 15.33 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.008053, allocations: 149.7 kB / 243.4 MB, free: 15.17 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.008065, allocations: 25.7 kB / 243.4 MB, free: 15.14 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.008106, allocations: 92.11 kB / 243.5 MB, free: 15.05 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.008125, allocations: 12.33 kB / 243.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.008162, allocations: 13.72 kB / 243.5 MB, free: 15.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.00826, allocations: 322.8 kB / 243.8 MB, free: 14.69 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.008272, allocations: 0 / 243.8 MB, free: 14.69 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.412e-05/0.008296, allocations: 13.72 kB / 243.8 MB, free: 14.67 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.697e-05/0.008333, allocations: 20.48 kB / 243.8 MB, free: 14.64 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.008335, allocations: 4 kB / 243.8 MB, free: 14.64 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.045e-05/0.008416, allocations: 41.62 kB / 243.9 MB, free: 14.59 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.008432, allocations: 8.125 kB / 243.9 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.008439, allocations: 3.938 kB / 243.9 MB, free: 14.58 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.008452, allocations: 4 kB / 243.9 MB, free: 14.58 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.396e-05/0.008536, allocations: 7.984 kB / 243.9 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.008539, allocations: 0 / 243.9 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.375e-05/0.008572, allocations: 8 kB / 243.9 MB, free: 14.56 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.008582, allocations: 3.984 kB / 243.9 MB, free: 14.56 MB / 250.7 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 6.257e-05/0.008644, allocations: 108.7 kB / 244 MB, free: 14.44 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.824e-05/0.008712, allocations: 33.7 kB / 244.1 MB, free: 14.4 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.008746, allocations: 31.72 kB / 244.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.008762, allocations: 8.031 kB / 244.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.008765, allocations: 0 / 244.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.008768, allocations: 0 / 244.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.008959, allocations: 89.81 kB / 244.2 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.008964, allocations: 0 / 244.2 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-05/0.009018, allocations: 11.98 kB / 244.2 MB, free: 14.24 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.00906, allocations: 11.94 kB / 244.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.009065, allocations: 4 kB / 244.2 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.009073, allocations: 0 / 244.2 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.009077, allocations: 3.938 kB / 244.2 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.00908, allocations: 4 kB / 244.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.009319, allocations: 230.4 kB / 244.4 MB, free: 13.97 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.009333, allocations: 0 / 244.4 MB, free: 13.97 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.865e-05/0.009432, allocations: 4 kB / 244.5 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.009471, allocations: 7.922 kB / 244.5 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.009477, allocations: 0 / 244.5 MB, free: 13.96 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.984e-05/0.009517, allocations: 36.83 kB / 244.5 MB, free: 13.92 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009517, allocations: 0 / 244.5 MB, free: 13.92 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002532/0.00977, allocations: 11.92 kB / 244.5 MB, free: 13.91 MB / 250.7 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.0001015/0.009872, allocations: 80.45 kB / 244.6 MB, free: 13.82 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.915e-05/0.009951, allocations: 16.8 kB / 244.6 MB, free: 13.8 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.00996, allocations: 4 kB / 244.6 MB, free: 13.8 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.101e-05/0.009981, allocations: 12.84 kB / 244.6 MB, free: 13.78 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.01035, allocations: 30.39 kB / 244.6 MB, free: 13.75 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.01146, allocations: 201.5 kB / 244.8 MB, free: 13.52 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.314e-05/0.01152, allocations: 67.34 kB / 244.9 MB, free: 13.43 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.637e-05/0.01155, allocations: 0 / 244.9 MB, free: 13.43 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.01162, allocations: 59.36 kB / 245 MB, free: 13.37 MB / 250.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01162, allocations: 0 / 245 MB, free: 13.37 MB / 250.7 MB Notification: Performance of Templates: time 0.0027/0.01432, allocations: 0.7481 MB / 245.7 MB, free: 12.64 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4680973580107093]