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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 110.7 kB / 16.92 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001603, allocations: 191.3 kB / 17.85 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 44.61 kB / 300.6 MB, free: 5.91 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1458, allocations: 49.44 MB / 350.1 MB, free: 4.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.00352/0.1494, allocations: 1.017 MB / 351.1 MB, free: 3.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005568/0.15, allocations: 143.5 kB / 351.2 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.1502, allocations: 7.938 kB / 351.2 MB, free: 3.281 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.1504, allocations: 11.88 kB / 351.2 MB, free: 3.27 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.1506, allocations: 11.86 kB / 351.2 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.1509, allocations: 43.83 kB / 351.3 MB, free: 3.215 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.1511, allocations: 63.84 kB / 351.3 MB, free: 3.152 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.1513, allocations: 39.98 kB / 351.4 MB, free: 3.113 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.251e-05/0.1514, allocations: 27.91 kB / 351.4 MB, free: 3.086 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.23e-05/0.1515, allocations: 31.78 kB / 351.4 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.1515, allocations: 8 kB / 351.5 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.085e-05/0.1516, allocations: 4 kB / 351.5 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.543e-05/0.1517, allocations: 23.92 kB / 351.5 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.565e-05/0.1517, allocations: 39.69 kB / 351.5 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.152, allocations: 95.56 kB / 351.6 MB, free: 2.887 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.152, allocations: 4 kB / 351.6 MB, free: 2.883 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.152, allocations: 4 kB / 351.6 MB, free: 2.879 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.152, allocations: 0 / 351.6 MB, free: 2.879 MB / 286.1 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.0008424/0.1529, allocations: 403.3 kB / 352 MB, free: 2.434 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.1529, allocations: 8.031 kB / 352 MB, free: 2.426 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.565e-05/0.153, allocations: 16.75 kB / 352 MB, free: 2.41 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.1533, allocations: 207.6 kB / 352.2 MB, free: 2.172 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.1533, allocations: 12.33 kB / 352.3 MB, free: 2.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.1533, allocations: 8.312 kB / 352.3 MB, free: 2.152 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004837/0.1538, allocations: 222.1 kB / 352.5 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1538, allocations: 0 / 352.5 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.1539, allocations: 0 / 352.5 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.1539, allocations: 7.984 kB / 352.5 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.632e-05/0.154, allocations: 39.97 kB / 352.5 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.1542, allocations: 189.5 kB / 352.7 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.1545, allocations: 130.3 kB / 352.8 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.1547, allocations: 76.77 kB / 352.9 MB, free: 1.434 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.1547, allocations: 4 kB / 352.9 MB, free: 1.43 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.1547, allocations: 42.5 kB / 353 MB, free: 1.379 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 4.278e-06/0.1547, allocations: 0 / 353 MB, free: 1.379 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003419/0.1551, allocations: 141.8 kB / 353.1 MB, free: 1.234 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.924e-05/0.1552, allocations: 71.33 kB / 353.2 MB, free: 1.152 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.1554, allocations: 142.4 kB / 353.3 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.1554, allocations: 25.7 kB / 353.3 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.017e-05/0.1555, allocations: 96.45 kB / 353.4 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.1555, allocations: 7.906 kB / 353.4 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.932e-05/0.1556, allocations: 37.7 kB / 353.5 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1557, allocations: 322.8 kB / 353.8 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.117e-05/0.1558, allocations: 23.92 kB / 353.8 MB, free: 480 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.1559, allocations: 125.6 kB / 353.9 MB, free: 304 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.1561, allocations: 149.5 kB / 354.1 MB, free: 104 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1561, allocations: 0 / 354.1 MB, free: 104 kB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003114/0.1565, allocations: 165.4 kB / 354.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.1565, allocations: 4 kB / 354.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.1565, allocations: 4 kB / 354.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.1565, allocations: 4 kB / 354.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.1567, allocations: 35.92 kB / 354.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.1567, allocations: 7.984 kB / 354.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.803e-05/0.1568, allocations: 15.84 kB / 354.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.1568, allocations: 8 kB / 354.3 MB, free: 15.86 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (18): * Single equations (assignments): 18 * 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.000149/0.157, allocations: 145.9 kB / 354.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.1572, allocations: 116.5 kB / 354.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.864e-05/0.1572, allocations: 21.19 kB / 354.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1572, allocations: 4 kB / 354.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.1573, allocations: 0 / 354.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1573, allocations: 0 / 354.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.1574, allocations: 189.5 kB / 354.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1575, allocations: 0 / 354.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.1576, allocations: 31.92 kB / 354.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.1576, allocations: 0 / 354.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1576, allocations: 4 kB / 354.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1576, allocations: 0 / 354.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1576, allocations: 3.938 kB / 354.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.1578, allocations: 156.9 kB / 355 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.902e-05/0.1579, allocations: 104.8 kB / 355.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.158, allocations: 0 / 355.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.254e-05/0.158, allocations: 8 kB / 355.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-06/0.158, allocations: 0 / 355.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.158, allocations: 4 kB / 355.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.1581, allocations: 112.6 kB / 355.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1581, allocations: 3.938 kB / 355.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.1584, allocations: 16 kB / 355.2 MB, free: 14.85 MB / 302.1 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.0001645/0.1586, allocations: 103.2 kB / 355.3 MB, free: 14.74 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002473/0.1588, allocations: 104.7 kB / 355.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1588, allocations: 0 / 355.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.1589, allocations: 0 / 355.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.1594, allocations: 86.69 kB / 355.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005204/0.1599, allocations: 230.1 kB / 355.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.1603, allocations: 0.7162 MB / 356.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.258e-05/0.1604, allocations: 12.64 kB / 356.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.1604, allocations: 15.44 kB / 356.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1604, allocations: 0 / 356.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of Templates: time 0.004495/0.1649, allocations: 0.9936 MB / 357.5 MB, free: 12.55 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches