Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.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.000844/0.000844, allocations: 80.62 kB / 22.21 MB, free: 2.289 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.0009303/0.0009303, allocations: 154.9 kB / 25.6 MB, free: 8.922 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 0.9411/0.9411, allocations: 173.4 MB / 202.2 MB, free: 8.305 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.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 269.2 MB, free: 9.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.393e-05, allocations: 5.266 kB / 269.2 MB, free: 9.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002102/0.002126, allocations: 1.039 MB / 270.3 MB, free: 8.715 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003685/0.002495, allocations: 147.4 kB / 270.4 MB, free: 8.57 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.716e-05/0.002582, allocations: 1 kB / 270.4 MB, free: 8.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.002693, allocations: 15.86 kB / 270.4 MB, free: 8.555 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.002798, allocations: 12.56 kB / 270.4 MB, free: 8.543 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.003003, allocations: 35.95 kB / 270.5 MB, free: 8.508 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.003136, allocations: 80.38 kB / 270.5 MB, free: 8.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.003257, allocations: 28.64 kB / 270.6 MB, free: 8.402 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.457e-05/0.003311, allocations: 39.89 kB / 270.6 MB, free: 8.363 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.764e-05/0.003359, allocations: 22.88 kB / 270.6 MB, free: 8.344 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.003383, allocations: 8 kB / 270.6 MB, free: 8.336 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.144e-05/0.003394, allocations: 4 kB / 270.6 MB, free: 8.332 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.895e-05/0.003463, allocations: 27.91 kB / 270.7 MB, free: 8.305 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.003499, allocations: 23.92 kB / 270.7 MB, free: 8.281 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.003622, allocations: 55.75 kB / 270.7 MB, free: 8.227 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.003625, allocations: 4 kB / 270.8 MB, free: 8.223 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.003626, allocations: 0 / 270.8 MB, free: 8.223 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.003631, allocations: 1.531 kB / 270.8 MB, free: 8.223 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003533/0.003984, allocations: 432.1 kB / 271.2 MB, free: 7.762 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.004021, allocations: 8.031 kB / 271.2 MB, free: 7.754 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.004057, allocations: 29.75 kB / 271.2 MB, free: 7.727 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.004207, allocations: 151 kB / 271.4 MB, free: 7.555 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.004219, allocations: 16.36 kB / 271.4 MB, free: 7.539 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-06/0.004228, allocations: 4.375 kB / 271.4 MB, free: 7.535 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.004418, allocations: 161.1 kB / 271.5 MB, free: 7.363 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.004424, allocations: 192 / 271.5 MB, free: 7.363 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.004433, allocations: 8.125 kB / 271.5 MB, free: 7.355 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.004438, allocations: 0 / 271.5 MB, free: 7.355 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.379e-05/0.004462, allocations: 19.98 kB / 271.6 MB, free: 7.336 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001038/0.004566, allocations: 113.1 kB / 271.7 MB, free: 7.199 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.0047, allocations: 95.44 kB / 271.8 MB, free: 7.094 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.31e-05/0.004743, allocations: 39.67 kB / 271.8 MB, free: 7.051 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.004752, allocations: 11.97 kB / 271.8 MB, free: 7.039 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.004779, allocations: 33.39 kB / 271.8 MB, free: 6.996 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 8.11e-07/0.00478, allocations: 0 / 271.8 MB, free: 6.996 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001534/0.004934, allocations: 116.7 kB / 272 MB, free: 6.879 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.004985, allocations: 59.41 kB / 272 MB, free: 6.809 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.08e-05/0.005076, allocations: 208 kB / 272.2 MB, free: 6.59 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.00509, allocations: 33.69 kB / 272.3 MB, free: 6.551 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.005136, allocations: 135.2 kB / 272.4 MB, free: 6.41 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.005151, allocations: 11.95 kB / 272.4 MB, free: 6.398 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.005176, allocations: 19.38 kB / 272.4 MB, free: 6.371 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.005299, allocations: 0.4884 MB / 272.9 MB, free: 5.871 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.859e-06/0.005309, allocations: 4 kB / 272.9 MB, free: 5.867 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.059e-05/0.00533, allocations: 23.36 kB / 272.9 MB, free: 5.836 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.89e-05/0.005359, allocations: 27.31 kB / 273 MB, free: 5.801 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.005361, allocations: 4 kB / 273 MB, free: 5.797 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.83e-05/0.005419, allocations: 45.66 kB / 273 MB, free: 5.746 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.005431, allocations: 4 kB / 273 MB, free: 5.742 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.005436, allocations: 3.938 kB / 273 MB, free: 5.738 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.005446, allocations: 7.938 kB / 273 MB, free: 5.73 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.056e-05/0.005487, allocations: 7.984 kB / 273 MB, free: 5.723 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.005489, allocations: 3.938 kB / 273 MB, free: 5.719 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.276e-05/0.005502, allocations: 0 / 273 MB, free: 5.719 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.005508, allocations: 8 kB / 273 MB, free: 5.711 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: 2 (unitDelay2.u,unitDelay1.u) * 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 7.307e-05/0.005581, allocations: 156.6 kB / 273.2 MB, free: 5.547 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.688e-05/0.005658, allocations: 97.53 kB / 273.3 MB, free: 5.445 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.005693, allocations: 21.11 kB / 273.3 MB, free: 5.426 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.005696, allocations: 3.938 kB / 273.3 MB, free: 5.422 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.005698, allocations: 0 / 273.3 MB, free: 5.422 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.005701, allocations: 0 / 273.3 MB, free: 5.422 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.807e-05/0.005779, allocations: 121.1 kB / 273.4 MB, free: 5.277 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.00578, allocations: 3.938 kB / 273.4 MB, free: 5.273 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.206e-05/0.005842, allocations: 23.98 kB / 273.5 MB, free: 5.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.005844, allocations: 0 / 273.5 MB, free: 5.25 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.005851, allocations: 8 kB / 273.5 MB, free: 5.242 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/0.005863, allocations: 4 kB / 273.5 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.005864, allocations: 0 / 273.5 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.436e-05/0.005918, allocations: 84.27 kB / 273.6 MB, free: 5.133 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.005956, allocations: 23.92 kB / 273.6 MB, free: 5.109 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.005973, allocations: 0 / 273.6 MB, free: 5.109 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.496e-05/0.005988, allocations: 4 kB / 273.6 MB, free: 5.105 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-06/0.00599, allocations: 0 / 273.6 MB, free: 5.105 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.005996, allocations: 4 kB / 273.6 MB, free: 5.102 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.819e-05/0.006044, allocations: 139.1 kB / 273.7 MB, free: 4.965 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006044, allocations: 0 / 273.7 MB, free: 4.965 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001279/0.006172, allocations: 16 kB / 273.7 MB, free: 4.949 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 8.258e-05/0.006255, allocations: 107.2 kB / 273.8 MB, free: 4.836 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.924e-05/0.006334, allocations: 46.48 kB / 273.9 MB, free: 4.789 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.006335, allocations: 0 / 273.9 MB, free: 4.789 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.006336, allocations: 0 / 273.9 MB, free: 4.789 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.006581, allocations: 55.83 kB / 273.9 MB, free: 4.734 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.006877, allocations: 222.5 kB / 274.2 MB, free: 4.488 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.911e-05/0.006927, allocations: 75.33 kB / 274.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.923e-05/0.006946, allocations: 4.625 kB / 274.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.007011, allocations: 82.19 kB / 274.3 MB, free: 4.309 MB / 250.7 MB Notification: Performance of SimCode: time 8.82e-07/0.007012, allocations: 0 / 274.3 MB, free: 4.309 MB / 250.7 MB Notification: Performance of Templates: time 0.003069/0.01008, allocations: 1.061 MB / 275.4 MB, free: 3.273 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.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.730846604797989]