Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.0009191/0.0009191, allocations: 80.62 kB / 22.21 MB, free: 2.297 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.0008972/0.0008972, allocations: 151.1 kB / 25.6 MB, free: 8.938 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.008/1.008, allocations: 173.4 MB / 202.2 MB, free: 8.297 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.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167e-05/1.281e-05, allocations: 6.484 kB / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001444/0.001457, allocations: 0.9307 MB / 270.1 MB, free: 8.859 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002823/0.001739, allocations: 148.8 kB / 270.3 MB, free: 8.715 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.439e-05/0.001814, allocations: 7.938 kB / 270.3 MB, free: 8.707 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.536e-05/0.001909, allocations: 11.86 kB / 270.3 MB, free: 8.695 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.00201, allocations: 16.86 kB / 270.3 MB, free: 8.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.002167, allocations: 47.81 kB / 270.4 MB, free: 8.633 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001/0.002267, allocations: 67.78 kB / 270.4 MB, free: 8.566 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.002361, allocations: 28.72 kB / 270.4 MB, free: 8.539 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.253e-05/0.002404, allocations: 39.89 kB / 270.5 MB, free: 8.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.609e-05/0.00247, allocations: 32.58 kB / 270.5 MB, free: 8.469 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.002491, allocations: 8.719 kB / 270.5 MB, free: 8.461 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.002501, allocations: 4 kB / 270.5 MB, free: 8.457 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.002542, allocations: 30.89 kB / 270.6 MB, free: 8.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.002572, allocations: 23.91 kB / 270.6 MB, free: 8.406 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.764e-05/0.00267, allocations: 71.69 kB / 270.7 MB, free: 8.336 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.002672, allocations: 0 / 270.7 MB, free: 8.336 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.002672, allocations: 0 / 270.7 MB, free: 8.336 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.002675, allocations: 0 / 270.7 MB, free: 8.336 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.0003116/0.002987, allocations: 440 kB / 271.1 MB, free: 7.867 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.003018, allocations: 8.031 kB / 271.1 MB, free: 7.859 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.003051, allocations: 25.81 kB / 271.1 MB, free: 7.836 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.003194, allocations: 160.2 kB / 271.3 MB, free: 7.652 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.003205, allocations: 12.38 kB / 271.3 MB, free: 7.641 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.003215, allocations: 8.375 kB / 271.3 MB, free: 7.633 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.003392, allocations: 160.2 kB / 271.5 MB, free: 7.465 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.0034, allocations: 192 / 271.5 MB, free: 7.465 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.003408, allocations: 4.375 kB / 271.5 MB, free: 7.461 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.003413, allocations: 384 / 271.5 MB, free: 7.461 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.429e-05/0.003437, allocations: 23.92 kB / 271.5 MB, free: 7.438 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.41e-05/0.003521, allocations: 113.2 kB / 271.6 MB, free: 7.301 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.003643, allocations: 91.44 kB / 271.7 MB, free: 7.199 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.076e-05/0.003683, allocations: 39.67 kB / 271.7 MB, free: 7.156 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.003691, allocations: 7.984 kB / 271.7 MB, free: 7.148 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.003712, allocations: 49.31 kB / 271.8 MB, free: 7.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 7.81e-07/0.003713, allocations: 0 / 271.8 MB, free: 7.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001397/0.003853, allocations: 108.8 kB / 271.9 MB, free: 6.98 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.003893, allocations: 63.41 kB / 271.9 MB, free: 6.906 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.003995, allocations: 224.8 kB / 272.2 MB, free: 6.672 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.004004, allocations: 25.7 kB / 272.2 MB, free: 6.641 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.004045, allocations: 139.2 kB / 272.3 MB, free: 6.496 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.158e-05/0.004057, allocations: 11.91 kB / 272.3 MB, free: 6.484 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.004083, allocations: 27.33 kB / 272.4 MB, free: 6.449 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.346e-05/0.004177, allocations: 0.4922 MB / 272.9 MB, free: 5.945 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.663e-06/0.004184, allocations: 7.938 kB / 272.9 MB, free: 5.938 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.584e-05/0.004199, allocations: 23.38 kB / 272.9 MB, free: 5.906 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.698e-05/0.004226, allocations: 27.34 kB / 272.9 MB, free: 5.871 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.004228, allocations: 4 kB / 272.9 MB, free: 5.867 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.625e-05/0.004274, allocations: 53.59 kB / 273 MB, free: 5.809 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.004284, allocations: 8 kB / 273 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.004287, allocations: 0 / 273 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.004294, allocations: 0 / 273 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.285e-05/0.004327, allocations: 7.984 kB / 273 MB, free: 5.793 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.004331, allocations: 4 kB / 273 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.143e-05/0.004343, allocations: 0 / 273 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.004347, allocations: 3.938 kB / 273 MB, free: 5.785 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: 4 ($CLKPRE.unitDelay2.u,unitDelay2.u,$CLKPRE.unitDelay1.u,unitDelay1.u) * 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 6.138e-05/0.004409, allocations: 168.6 kB / 273.2 MB, free: 5.609 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/0.004471, allocations: 89.58 kB / 273.2 MB, free: 5.516 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.004503, allocations: 21.11 kB / 273.3 MB, free: 5.496 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.004505, allocations: 4 kB / 273.3 MB, free: 5.492 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.004507, allocations: 0 / 273.3 MB, free: 5.492 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.00451, allocations: 0 / 273.3 MB, free: 5.492 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.726e-05/0.004567, allocations: 121.1 kB / 273.4 MB, free: 5.348 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.004568, allocations: 0 / 273.4 MB, free: 5.348 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-05/0.004623, allocations: 27.98 kB / 273.4 MB, free: 5.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.22e-07/0.004623, allocations: 0 / 273.4 MB, free: 5.32 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.004629, allocations: 8 kB / 273.4 MB, free: 5.312 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-07/0.00463, allocations: 4 kB / 273.4 MB, free: 5.309 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.00463, allocations: 3.938 kB / 273.4 MB, free: 5.305 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.814e-05/0.004668, allocations: 80.27 kB / 273.5 MB, free: 5.203 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.004701, allocations: 27.83 kB / 273.5 MB, free: 5.176 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.004716, allocations: 4 kB / 273.5 MB, free: 5.172 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.202e-05/0.004728, allocations: 4 kB / 273.5 MB, free: 5.168 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-06/0.00473, allocations: 0 / 273.5 MB, free: 5.168 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.004734, allocations: 4 kB / 273.5 MB, free: 5.164 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.188e-05/0.004776, allocations: 147.1 kB / 273.7 MB, free: 5.02 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004776, allocations: 0 / 273.7 MB, free: 5.02 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001271/0.004903, allocations: 16 kB / 273.7 MB, free: 5.004 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: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * 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 6.972e-05/0.004973, allocations: 113.2 kB / 273.8 MB, free: 4.887 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.661e-05/0.00504, allocations: 34.91 kB / 273.8 MB, free: 4.852 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.005041, allocations: 0 / 273.8 MB, free: 4.852 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.005041, allocations: 0 / 273.8 MB, free: 4.852 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.005253, allocations: 71.75 kB / 273.9 MB, free: 4.781 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002184/0.005471, allocations: 230.5 kB / 274.1 MB, free: 4.523 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.38e-05/0.005505, allocations: 79.45 kB / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.399e-05/0.005519, allocations: 4.5 kB / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.332e-05/0.005572, allocations: 86.19 kB / 274.3 MB, free: 4.336 MB / 250.7 MB Notification: Performance of SimCode: time 2.6e-07/0.005573, allocations: 0 / 274.3 MB, free: 4.336 MB / 250.7 MB Notification: Performance of Templates: time 0.002486/0.008059, allocations: 1.248 MB / 275.6 MB, free: 3.121 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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.5932053751312196]