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.001365/0.001365, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001081/0.001081, allocations: 143.1 kB / 24.97 MB, free: 8.324 MB / 18.57 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 1.014/1.014, allocations: 173.3 MB / 201.5 MB, free: 9.332 MB / 186.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 1.934e-06/1.934e-06, allocations: 0 / 268.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.647e-05/3.84e-05, allocations: 2.312 kB / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002654/0.002693, allocations: 1.651 MB / 269.7 MB, free: 5.055 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008207/0.003513, allocations: 482.5 kB / 270.2 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.003635, allocations: 0 / 270.2 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.003808, allocations: 7.875 kB / 270.2 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.003969, allocations: 19.8 kB / 270.2 MB, free: 4.551 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.004273, allocations: 51.81 kB / 270.3 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.004416, allocations: 63.72 kB / 270.3 MB, free: 4.438 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.004553, allocations: 11.98 kB / 270.4 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.703e-05/0.00465, allocations: 43.83 kB / 270.4 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.312e-05/0.004714, allocations: 15.98 kB / 270.4 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.004749, allocations: 4 kB / 270.4 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.004761, allocations: 4 kB / 270.4 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.22e-05/0.004833, allocations: 15.92 kB / 270.4 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.004876, allocations: 15.94 kB / 270.5 MB, free: 4.328 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.00503, allocations: 63.73 kB / 270.5 MB, free: 4.266 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.005035, allocations: 0 / 270.5 MB, free: 4.266 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.005036, allocations: 0 / 270.5 MB, free: 4.266 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.005042, allocations: 0 / 270.5 MB, free: 4.266 MB / 250.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.0005285/0.00557, allocations: 416.2 kB / 270.9 MB, free: 3.824 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.005618, allocations: 8.031 kB / 270.9 MB, free: 3.816 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.956e-05/0.005678, allocations: 16.84 kB / 270.9 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.005911, allocations: 152.2 kB / 271.1 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.005925, allocations: 4.375 kB / 271.1 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.005939, allocations: 8.375 kB / 271.1 MB, free: 3.613 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.006244, allocations: 133.2 kB / 271.2 MB, free: 3.453 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.006252, allocations: 192 / 271.2 MB, free: 3.453 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.006264, allocations: 384 / 271.2 MB, free: 3.453 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.364e-05/0.006308, allocations: 7.938 kB / 271.2 MB, free: 3.445 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.471e-05/0.006343, allocations: 11.94 kB / 271.3 MB, free: 3.434 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004787/0.006822, allocations: 414.4 kB / 271.7 MB, free: 2.984 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.006932, allocations: 93.25 kB / 271.8 MB, free: 2.855 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.954e-05/0.006971, allocations: 27 kB / 271.8 MB, free: 2.816 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.006989, allocations: 4.062 kB / 271.8 MB, free: 2.812 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.007021, allocations: 41.27 kB / 271.8 MB, free: 2.762 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.007022, allocations: 0 / 271.8 MB, free: 2.762 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002263/0.007249, allocations: 69.52 kB / 271.9 MB, free: 2.688 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/0.007324, allocations: 106.8 kB / 272 MB, free: 2.559 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.007456, allocations: 208.3 kB / 272.2 MB, free: 2.34 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.007471, allocations: 26.08 kB / 272.2 MB, free: 2.309 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.007539, allocations: 142.9 kB / 272.4 MB, free: 2.164 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.007559, allocations: 3.953 kB / 272.4 MB, free: 2.16 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.007592, allocations: 27.36 kB / 272.4 MB, free: 2.125 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.007746, allocations: 492.1 kB / 272.9 MB, free: 1.633 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.239e-05/0.007768, allocations: 7.938 kB / 272.9 MB, free: 1.625 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.357e-05/0.007792, allocations: 19.38 kB / 272.9 MB, free: 1.598 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.661e-05/0.007838, allocations: 27.36 kB / 272.9 MB, free: 1.562 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.00784, allocations: 0 / 272.9 MB, free: 1.562 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.149e-05/0.007922, allocations: 53.59 kB / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.007943, allocations: 11.98 kB / 273 MB, free: 1.492 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.007947, allocations: 0 / 273 MB, free: 1.492 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.007964, allocations: 0 / 273 MB, free: 1.492 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.835e-05/0.008053, allocations: 4 kB / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.008061, allocations: 4 kB / 273 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.13e-05/0.008082, allocations: 0 / 273 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.008093, allocations: 3.984 kB / 273 MB, free: 1.48 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 8.118e-05/0.008174, allocations: 156.6 kB / 273.2 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.943e-05/0.008233, allocations: 49.59 kB / 273.2 MB, free: 1.262 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.537e-05/0.008269, allocations: 15.95 kB / 273.2 MB, free: 1.242 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.008284, allocations: 4 kB / 273.2 MB, free: 1.238 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.008291, allocations: 4 kB / 273.2 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.008296, allocations: 4 kB / 273.2 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.00845, allocations: 140.5 kB / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.008453, allocations: 0 / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/0.008489, allocations: 8 kB / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.008491, allocations: 0 / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.008504, allocations: 7.938 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.008505, allocations: 4.031 kB / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.008506, allocations: 3.938 kB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.008723, allocations: 342.7 kB / 273.7 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.008769, allocations: 15.94 kB / 273.7 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.008784, allocations: 3.938 kB / 273.7 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.928e-05/0.008843, allocations: 8 kB / 273.8 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.008896, allocations: 0 / 273.8 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.008903, allocations: 7.984 kB / 273.8 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.849e-05/0.008972, allocations: 146.2 kB / 273.9 MB, free: 0.5 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008972, allocations: 0 / 273.9 MB, free: 0.5 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001728/0.009144, allocations: 12 kB / 273.9 MB, free: 500 kB / 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.0001104/0.009255, allocations: 103.2 kB / 274 MB, free: 388 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.009365, allocations: 19.62 kB / 274 MB, free: 364 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.009367, allocations: 0 / 274 MB, free: 364 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.047e-05/0.009387, allocations: 11.69 kB / 274.1 MB, free: 348 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.009748, allocations: 31.42 kB / 274.1 MB, free: 316 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005881/0.01034, allocations: 210 kB / 274.3 MB, free: 64 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.593e-05/0.0104, allocations: 63.34 kB / 274.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.771e-05/0.01044, allocations: 7.984 kB / 274.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.01048, allocations: 16.5 kB / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01048, allocations: 0 / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of Templates: time 0.003035/0.01352, allocations: 0.7329 MB / 275.1 MB, free: 15.25 MB / 266.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 -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.743625230854377]