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.001288/0.001288, allocations: 81.58 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001391/0.001391, allocations: 151.6 kB / 23.94 MB, free: 4.164 MB / 14.72 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.468/1.468, allocations: 173.3 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] 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.1.|assignClock1.y.2.",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.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 318.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/3.039e-05, allocations: 2.281 kB / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001979/0.00201, allocations: 0.896 MB / 319.8 MB, free: 3.004 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003866/0.002396, allocations: 151.2 kB / 320 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.794e-05/0.002484, allocations: 3.25 kB / 320 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.002591, allocations: 12.84 kB / 320 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.002716, allocations: 16.7 kB / 320 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.002925, allocations: 45.12 kB / 320 MB, free: 2.859 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.003053, allocations: 70.36 kB / 320.1 MB, free: 2.828 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.003177, allocations: 32.17 kB / 320.1 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.195e-05/0.003229, allocations: 37.62 kB / 320.2 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.059e-05/0.00331, allocations: 32.14 kB / 320.2 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.003335, allocations: 9.562 kB / 320.2 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.598e-05/0.003351, allocations: 6.469 kB / 320.2 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.67e-05/0.003408, allocations: 28.05 kB / 320.3 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.003451, allocations: 26.62 kB / 320.3 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.003608, allocations: 99.94 kB / 320.4 MB, free: 2.711 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.003611, allocations: 0 / 320.4 MB, free: 2.711 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003611, allocations: 1.062 kB / 320.4 MB, free: 2.711 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.003616, allocations: 0 / 320.4 MB, free: 2.711 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.0004238/0.00404, allocations: 345.2 kB / 320.7 MB, free: 2.387 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.004078, allocations: 10.42 kB / 320.7 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.004116, allocations: 11.64 kB / 320.7 MB, free: 2.383 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.004299, allocations: 166.2 kB / 320.9 MB, free: 2.223 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.004314, allocations: 4.469 kB / 320.9 MB, free: 2.223 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.004335, allocations: 9.906 kB / 320.9 MB, free: 2.219 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.004754, allocations: 234.1 kB / 321.1 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.004765, allocations: 4.188 kB / 321.2 MB, free: 2.105 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.004776, allocations: 4.375 kB / 321.2 MB, free: 2.102 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.004781, allocations: 3.281 kB / 321.2 MB, free: 2.102 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.488e-05/0.004866, allocations: 54.41 kB / 321.2 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001053/0.004971, allocations: 128.4 kB / 321.3 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.005207, allocations: 139.5 kB / 321.5 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.005323, allocations: 80.94 kB / 321.6 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.005338, allocations: 1.844 kB / 321.6 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.005358, allocations: 36.72 kB / 321.6 MB, free: 1.812 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.005359, allocations: 0 / 321.6 MB, free: 1.812 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003031/0.005662, allocations: 183.3 kB / 321.8 MB, free: 1.727 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.005708, allocations: 61.25 kB / 321.8 MB, free: 1.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.005831, allocations: 167.2 kB / 322 MB, free: 1.535 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.00584, allocations: 25.7 kB / 322 MB, free: 1.504 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.005867, allocations: 93.38 kB / 322.1 MB, free: 1.41 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.005897, allocations: 9.156 kB / 322.1 MB, free: 1.402 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.005932, allocations: 27.38 kB / 322.1 MB, free: 1.379 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.759e-05/0.005979, allocations: 317.2 kB / 322.5 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.005994, allocations: 7.094 kB / 322.5 MB, free: 1.062 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.006012, allocations: 20.53 kB / 322.5 MB, free: 1.043 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.846e-05/0.006041, allocations: 28.41 kB / 322.5 MB, free: 1.016 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.006042, allocations: 0 / 322.5 MB, free: 1.016 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.751e-05/0.00611, allocations: 48.27 kB / 322.6 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.006124, allocations: 6.328 kB / 322.6 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.006128, allocations: 1.188 kB / 322.6 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.006143, allocations: 0 / 322.6 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.583e-05/0.006199, allocations: 14.48 kB / 322.6 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.006204, allocations: 1.125 kB / 322.6 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.149e-05/0.006226, allocations: 9.891 kB / 322.6 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-06/0.006231, allocations: 5.281 kB / 322.6 MB, free: 0.9609 MB / 286.1 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 7.547e-05/0.006307, allocations: 128 kB / 322.7 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.006482, allocations: 133.1 kB / 322.8 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.845e-05/0.00653, allocations: 22.56 kB / 322.9 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.006534, allocations: 6.297 kB / 322.9 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.006538, allocations: 0 / 322.9 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.006544, allocations: 5.109 kB / 322.9 MB, free: 0.75 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.744e-05/0.006621, allocations: 126.4 kB / 323 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.006623, allocations: 0 / 323 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.00674, allocations: 30.61 kB / 323 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.006742, allocations: 4 kB / 323 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.006753, allocations: 1.953 kB / 323 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.006755, allocations: 1.344 kB / 323 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.006756, allocations: 3.938 kB / 323 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.006942, allocations: 176.2 kB / 323.2 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.006994, allocations: 26.67 kB / 323.2 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.007016, allocations: 5.781 kB / 323.2 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.349e-05/0.007049, allocations: 2.594 kB / 323.3 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-06/0.007053, allocations: 4 kB / 323.3 MB, free: 488 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.007062, allocations: 7.062 kB / 323.3 MB, free: 484 kB / 286.1 MB Notification: Performance of sorting global known variables: time 6.875e-05/0.007131, allocations: 129.6 kB / 323.4 MB, free: 388 kB / 286.1 MB Notification: Performance of sort global known variables: time 8e-08/0.007131, allocations: 0 / 323.4 MB, free: 388 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001947/0.007326, allocations: 14.12 kB / 323.4 MB, free: 384 kB / 286.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: 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 9.898e-05/0.007425, allocations: 110.4 kB / 323.5 MB, free: 288 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.007558, allocations: 59.86 kB / 323.6 MB, free: 268 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.00756, allocations: 1.312 kB / 323.6 MB, free: 268 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.007561, allocations: 0 / 323.6 MB, free: 268 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.007935, allocations: 86.38 kB / 323.7 MB, free: 240 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.008277, allocations: 254.5 kB / 323.9 MB, free: 60 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.008385, allocations: 103.8 kB / 324 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.859e-05/0.008403, allocations: 8.5 kB / 324 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.008435, allocations: 13.42 kB / 324 MB, free: 15.97 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.008435, allocations: 0 / 324 MB, free: 15.97 MB / 302.1 MB Notification: Performance of Templates: time 0.004065/0.0125, allocations: 1.143 MB / 325.2 MB, free: 15.82 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.3090054877102375]