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.001502/0.001502, allocations: 79.91 kB / 21.18 MB, free: 3.387 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.001012/0.001012, allocations: 141.1 kB / 24.54 MB, free: 28 kB / 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 0.9975/0.9975, allocations: 173.3 MB / 201.1 MB, free: 9.34 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.863e-06/1.863e-06, allocations: 0 / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.09e-05, allocations: 6.25 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.00227/0.002301, allocations: 1.652 MB / 269.7 MB, free: 4.762 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007744/0.003076, allocations: 478.6 kB / 270.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.003185, allocations: 7.938 kB / 270.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.003315, allocations: 7.922 kB / 270.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.003447, allocations: 15.81 kB / 270.2 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.003723, allocations: 55.8 kB / 270.2 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.003856, allocations: 55.73 kB / 270.3 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.003972, allocations: 15.92 kB / 270.3 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.817e-05/0.00406, allocations: 35.95 kB / 270.3 MB, free: 4.098 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.549e-05/0.004115, allocations: 19.92 kB / 270.3 MB, free: 4.078 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.004138, allocations: 4 kB / 270.3 MB, free: 4.074 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.00415, allocations: 4 kB / 270.3 MB, free: 4.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.004204, allocations: 19.92 kB / 270.4 MB, free: 4.051 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.004238, allocations: 19.92 kB / 270.4 MB, free: 4.031 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.004354, allocations: 47.81 kB / 270.4 MB, free: 3.984 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.004356, allocations: 4 kB / 270.4 MB, free: 3.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.004358, allocations: 3.938 kB / 270.4 MB, free: 3.977 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.004363, allocations: 0 / 270.4 MB, free: 3.977 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.0006271/0.004991, allocations: 420.2 kB / 270.8 MB, free: 3.531 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.005029, allocations: 8.031 kB / 270.9 MB, free: 3.523 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.005073, allocations: 16.84 kB / 270.9 MB, free: 3.508 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.005256, allocations: 152.2 kB / 271 MB, free: 3.332 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.005266, allocations: 4.375 kB / 271 MB, free: 3.328 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.005275, allocations: 384 / 271 MB, free: 3.328 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.005528, allocations: 137.3 kB / 271.2 MB, free: 3.164 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.005535, allocations: 192 / 271.2 MB, free: 3.164 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.005545, allocations: 384 / 271.2 MB, free: 3.164 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.005576, allocations: 7.938 kB / 271.2 MB, free: 3.156 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.969e-05/0.005605, allocations: 15.92 kB / 271.2 MB, free: 3.141 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.005966, allocations: 406.4 kB / 271.6 MB, free: 2.699 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.55e-05/0.006052, allocations: 93.19 kB / 271.7 MB, free: 2.57 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.642e-05/0.006088, allocations: 35.17 kB / 271.7 MB, free: 2.523 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.006102, allocations: 4 kB / 271.7 MB, free: 2.52 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.006129, allocations: 41.27 kB / 271.7 MB, free: 2.469 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.00613, allocations: 0 / 271.7 MB, free: 2.469 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001985/0.006329, allocations: 65.53 kB / 271.8 MB, free: 2.398 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.00638, allocations: 106.8 kB / 271.9 MB, free: 2.27 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.006484, allocations: 204.9 kB / 272.1 MB, free: 2.055 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.006494, allocations: 30.02 kB / 272.1 MB, free: 2.02 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.006547, allocations: 142.9 kB / 272.3 MB, free: 1.875 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.006566, allocations: 15.94 kB / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.006596, allocations: 15.38 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.006723, allocations: 0.4884 MB / 272.8 MB, free: 1.336 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.006741, allocations: 3.984 kB / 272.8 MB, free: 1.332 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.271e-05/0.006764, allocations: 19.38 kB / 272.8 MB, free: 1.305 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.777e-05/0.006802, allocations: 23.38 kB / 272.9 MB, free: 1.273 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.006804, allocations: 0 / 272.9 MB, free: 1.273 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.79e-05/0.006872, allocations: 57.58 kB / 272.9 MB, free: 1.211 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.006888, allocations: 8 kB / 272.9 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.006893, allocations: 0 / 272.9 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.006907, allocations: 0 / 272.9 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.109e-05/0.006978, allocations: 4 kB / 272.9 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.006984, allocations: 3.984 kB / 272.9 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.184e-05/0.007006, allocations: 4 kB / 272.9 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.007013, allocations: 0 / 272.9 MB, free: 1.191 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.28e-05/0.007076, allocations: 160.6 kB / 273.1 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.007126, allocations: 49.59 kB / 273.1 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.007155, allocations: 15.95 kB / 273.1 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.007168, allocations: 4 kB / 273.2 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.007173, allocations: 4 kB / 273.2 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.007176, allocations: 0 / 273.2 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.007304, allocations: 140.5 kB / 273.3 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.007308, allocations: 4 kB / 273.3 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.44e-05/0.007332, allocations: 4 kB / 273.3 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.007336, allocations: 3.984 kB / 273.3 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.007343, allocations: 3.938 kB / 273.3 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.007345, allocations: 4 kB / 273.3 MB, free: 0.75 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.007346, allocations: 4.031 kB / 273.3 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.007491, allocations: 334.7 kB / 273.6 MB, free: 404 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.007521, allocations: 19.94 kB / 273.7 MB, free: 384 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.007534, allocations: 3.938 kB / 273.7 MB, free: 380 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.215e-05/0.007586, allocations: 4 kB / 273.7 MB, free: 376 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.00763, allocations: 3.984 kB / 273.7 MB, free: 372 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.007635, allocations: 4.047 kB / 273.7 MB, free: 368 kB / 250.7 MB Notification: Performance of sorting global known variables: time 6.063e-05/0.007695, allocations: 155.1 kB / 273.8 MB, free: 212 kB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007695, allocations: 0 / 273.8 MB, free: 212 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.000164/0.007859, allocations: 4 kB / 273.8 MB, free: 208 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 7.98e-05/0.007939, allocations: 107.2 kB / 273.9 MB, free: 92 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.072e-05/0.00803, allocations: 23.62 kB / 274 MB, free: 64 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008031, allocations: 0 / 274 MB, free: 64 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.042e-05/0.008052, allocations: 19.61 kB / 274 MB, free: 40 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.008358, allocations: 16.58 kB / 274 MB, free: 20 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005174/0.008876, allocations: 210 kB / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.583e-05/0.008922, allocations: 70.7 kB / 274.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.403e-05/0.008956, allocations: 4 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/0.008993, allocations: 8.5 kB / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.008994, allocations: 0 / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of Templates: time 0.002709/0.0117, allocations: 0.7754 MB / 275.1 MB, free: 14.92 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.7747558420524]