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.001012/0.001012, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001013/0.001013, allocations: 140.1 kB / 24.97 MB, free: 8.359 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.9844/0.9844, allocations: 173.4 MB / 201.5 MB, free: 9.312 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 2.345e-06/2.345e-06, allocations: 0 / 268.1 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.227e-05/3.461e-05, allocations: 6.25 kB / 268.1 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002936/0.00297, allocations: 1.051 MB / 269.1 MB, free: 5.645 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005095/0.00348, allocations: 139.5 kB / 269.3 MB, free: 5.508 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.00361, allocations: 3.938 kB / 269.3 MB, free: 5.504 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.003743, allocations: 15.86 kB / 269.3 MB, free: 5.488 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.003872, allocations: 7.875 kB / 269.3 MB, free: 5.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.004153, allocations: 47.88 kB / 269.3 MB, free: 5.434 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.004313, allocations: 63.78 kB / 269.4 MB, free: 5.371 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.004473, allocations: 35.91 kB / 269.4 MB, free: 5.336 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.539e-05/0.004548, allocations: 39.91 kB / 269.5 MB, free: 5.297 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.004613, allocations: 19.91 kB / 269.5 MB, free: 5.277 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.004646, allocations: 8 kB / 269.5 MB, free: 5.27 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.49e-05/0.004661, allocations: 4 kB / 269.5 MB, free: 5.266 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.004743, allocations: 23.91 kB / 269.5 MB, free: 5.242 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.168e-05/0.004805, allocations: 23.92 kB / 269.6 MB, free: 5.219 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.004978, allocations: 63.67 kB / 269.6 MB, free: 5.156 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.004981, allocations: 4 kB / 269.6 MB, free: 5.152 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.004982, allocations: 0 / 269.6 MB, free: 5.152 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.004989, allocations: 4 kB / 269.6 MB, free: 5.148 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.0005485/0.005537, allocations: 432.1 kB / 270.1 MB, free: 4.688 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.00558, allocations: 8.031 kB / 270.1 MB, free: 4.68 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.526e-05/0.005646, allocations: 24.84 kB / 270.1 MB, free: 4.656 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.005892, allocations: 148.9 kB / 270.2 MB, free: 4.484 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.005908, allocations: 8.375 kB / 270.2 MB, free: 4.477 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.005924, allocations: 8.312 kB / 270.2 MB, free: 4.469 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.0063, allocations: 177.1 kB / 270.4 MB, free: 4.281 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.006312, allocations: 4.172 kB / 270.4 MB, free: 4.277 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.006327, allocations: 8.125 kB / 270.4 MB, free: 4.27 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.006336, allocations: 0 / 270.4 MB, free: 4.27 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.698e-05/0.006393, allocations: 15.98 kB / 270.4 MB, free: 4.254 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.006549, allocations: 140.5 kB / 270.6 MB, free: 4.082 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.006768, allocations: 103.4 kB / 270.7 MB, free: 3.969 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.006885, allocations: 54.91 kB / 270.7 MB, free: 3.914 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.006898, allocations: 7.938 kB / 270.7 MB, free: 3.906 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.006929, allocations: 37.39 kB / 270.8 MB, free: 3.859 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.00693, allocations: 0 / 270.8 MB, free: 3.859 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002934/0.007224, allocations: 125.8 kB / 270.9 MB, free: 3.73 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.944e-05/0.007303, allocations: 67.3 kB / 271 MB, free: 3.652 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.007469, allocations: 196.9 kB / 271.2 MB, free: 3.445 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.007494, allocations: 29.7 kB / 271.2 MB, free: 3.41 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.549e-05/0.007569, allocations: 139.2 kB / 271.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.007588, allocations: 0 / 271.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.007633, allocations: 27.38 kB / 271.4 MB, free: 3.23 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.007834, allocations: 0.4923 MB / 271.8 MB, free: 2.727 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.007851, allocations: 3.938 kB / 271.9 MB, free: 2.723 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.918e-05/0.00788, allocations: 23.38 kB / 271.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.433e-05/0.007925, allocations: 27.36 kB / 271.9 MB, free: 2.656 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.007928, allocations: 0 / 271.9 MB, free: 2.656 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001027/0.008031, allocations: 53.59 kB / 272 MB, free: 2.598 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.00805, allocations: 4 kB / 272 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.008059, allocations: 12 kB / 272 MB, free: 2.582 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.008075, allocations: 0 / 272 MB, free: 2.582 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.556e-05/0.008141, allocations: 7.984 kB / 272 MB, free: 2.574 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.008149, allocations: 0 / 272 MB, free: 2.574 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.349e-05/0.008173, allocations: 4 kB / 272 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.008179, allocations: 3.938 kB / 272 MB, free: 2.566 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 0.0001046/0.008283, allocations: 160.6 kB / 272.1 MB, free: 2.398 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.008437, allocations: 101.5 kB / 272.2 MB, free: 2.293 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.008489, allocations: 25.05 kB / 272.3 MB, free: 2.27 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.008493, allocations: 0 / 272.3 MB, free: 2.27 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.008499, allocations: 8 kB / 272.3 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.008504, allocations: 0 / 272.3 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.008629, allocations: 148.5 kB / 272.4 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.008631, allocations: 0 / 272.4 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.008741, allocations: 20 kB / 272.4 MB, free: 2.062 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.008745, allocations: 3.984 kB / 272.4 MB, free: 2.059 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.008755, allocations: 0 / 272.4 MB, free: 2.059 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.008761, allocations: 7.938 kB / 272.5 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.008764, allocations: 3.938 kB / 272.5 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.008974, allocations: 143.2 kB / 272.6 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/0.009042, allocations: 31.81 kB / 272.6 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.009073, allocations: 4 kB / 272.6 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.314e-05/0.009106, allocations: 7.938 kB / 272.6 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-06/0.009109, allocations: 0 / 272.6 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.009119, allocations: 4 kB / 272.6 MB, free: 1.84 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.008e-05/0.009209, allocations: 150.5 kB / 272.8 MB, free: 1.695 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.009209, allocations: 0 / 272.8 MB, free: 1.695 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002201/0.009429, allocations: 8 kB / 272.8 MB, free: 1.688 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 0.0001332/0.009562, allocations: 111.2 kB / 272.9 MB, free: 1.57 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.009713, allocations: 35.77 kB / 272.9 MB, free: 1.531 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.009715, allocations: 4.125 kB / 272.9 MB, free: 1.527 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.009717, allocations: 4 kB / 272.9 MB, free: 1.523 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.01012, allocations: 63.69 kB / 273 MB, free: 1.465 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004233/0.01055, allocations: 230.5 kB / 273.2 MB, free: 1.211 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.788e-05/0.01061, allocations: 75.33 kB / 273.3 MB, free: 1.117 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.317e-05/0.01063, allocations: 4.5 kB / 273.3 MB, free: 1.113 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.01066, allocations: 12.5 kB / 273.3 MB, free: 1.102 MB / 250.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01067, allocations: 0 / 273.3 MB, free: 1.102 MB / 250.7 MB Notification: Performance of Templates: time 0.003412/0.01408, allocations: 0.9794 MB / 274.3 MB, free: 136 kB / 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.782776193926111]