Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum1.y|sum2.y|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum1.y|sum2.y|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 106.3 kB / 16.31 MB, free: 5.879 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.002521/0.002521, allocations: 190.7 kB / 17.24 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205.1 MB / 223.1 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08132/0.08132, allocations: 12.59 MB / 283.1 MB, free: 15.46 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 91.88 kB / 343.5 MB, free: 2.93 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.312, allocations: 49.38 MB / 392.9 MB, free: 49.2 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002903/0.3149, allocations: 0.9078 MB / 393.8 MB, free: 48.63 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000397/0.3154, allocations: 136 kB / 393.9 MB, free: 48.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.3155, allocations: 6.375 kB / 393.9 MB, free: 48.54 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.3156, allocations: 12.02 kB / 393.9 MB, free: 48.54 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.3158, allocations: 17.02 kB / 394 MB, free: 48.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.3161, allocations: 51.2 kB / 394 MB, free: 48.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.3163, allocations: 67.58 kB / 394.1 MB, free: 48.46 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.3165, allocations: 47.14 kB / 394.1 MB, free: 48.45 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.187e-05/0.3165, allocations: 20.5 kB / 394.1 MB, free: 48.44 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.3167, allocations: 38.7 kB / 394.2 MB, free: 48.42 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.3167, allocations: 6.531 kB / 394.2 MB, free: 48.42 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.408e-05/0.3168, allocations: 4.938 kB / 394.2 MB, free: 48.42 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.128e-05/0.3169, allocations: 29.44 kB / 394.2 MB, free: 48.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.495e-05/0.3169, allocations: 46.66 kB / 394.3 MB, free: 48.37 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.3172, allocations: 96.52 kB / 394.4 MB, free: 48.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3172, allocations: 0 / 394.4 MB, free: 48.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3172, allocations: 0 / 394.4 MB, free: 48.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.998e-06/0.3172, allocations: 0.6562 kB / 394.4 MB, free: 48.32 MB / 318.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.000605/0.3178, allocations: 417.1 kB / 394.8 MB, free: 47.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.3178, allocations: 9.25 kB / 394.8 MB, free: 47.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.826e-05/0.3179, allocations: 19.27 kB / 394.8 MB, free: 47.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.3182, allocations: 202.3 kB / 395 MB, free: 47.69 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.3182, allocations: 3.781 kB / 395 MB, free: 47.69 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.3182, allocations: 13.66 kB / 395 MB, free: 47.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/0.3188, allocations: 248.5 kB / 395.2 MB, free: 47.56 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3188, allocations: 192 / 395.2 MB, free: 47.56 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.3188, allocations: 8.906 kB / 395.3 MB, free: 47.55 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.974e-06/0.3188, allocations: 2.703 kB / 395.3 MB, free: 47.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.3189, allocations: 54.62 kB / 395.3 MB, free: 47.53 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.3191, allocations: 194.9 kB / 395.5 MB, free: 47.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.3194, allocations: 150.1 kB / 395.6 MB, free: 47.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.3195, allocations: 81.92 kB / 395.7 MB, free: 47.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.3195, allocations: 6.688 kB / 395.7 MB, free: 47.22 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.3196, allocations: 36.39 kB / 395.8 MB, free: 47.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.3196, allocations: 0 / 395.8 MB, free: 47.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002978/0.3199, allocations: 184 kB / 395.9 MB, free: 47.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.3199, allocations: 59.38 kB / 396 MB, free: 47.03 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.3201, allocations: 167.6 kB / 396.2 MB, free: 46.9 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.3201, allocations: 27.81 kB / 396.2 MB, free: 46.87 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.3202, allocations: 92.86 kB / 396.3 MB, free: 46.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.3202, allocations: 13.47 kB / 396.3 MB, free: 46.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/0.3203, allocations: 42.75 kB / 396.3 MB, free: 46.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.449e-05/0.3203, allocations: 321.6 kB / 396.7 MB, free: 46.42 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.257e-05/0.3204, allocations: 25.08 kB / 396.7 MB, free: 46.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.978e-05/0.3205, allocations: 121 kB / 396.8 MB, free: 46.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.3206, allocations: 159.2 kB / 397 MB, free: 46.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3206, allocations: 1.75 kB / 397 MB, free: 46.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002068/0.3208, allocations: 158.8 kB / 397.1 MB, free: 46.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.3209, allocations: 10.12 kB / 397.1 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.3209, allocations: 7.719 kB / 397.1 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.3209, allocations: 8.578 kB / 397.1 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.321, allocations: 25.59 kB / 397.2 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.321, allocations: 12.23 kB / 397.2 MB, free: 46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.374e-05/0.3211, allocations: 13.41 kB / 397.2 MB, free: 46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.3211, allocations: 11.97 kB / 397.2 MB, free: 45.99 MB / 318.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: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,$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 (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.0001123/0.3213, allocations: 146.9 kB / 397.3 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.3214, allocations: 132.6 kB / 397.5 MB, free: 45.78 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.978e-05/0.3215, allocations: 23.84 kB / 397.5 MB, free: 45.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.3215, allocations: 1.75 kB / 397.5 MB, free: 45.76 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3215, allocations: 1.562 kB / 397.5 MB, free: 45.76 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3215, allocations: 0 / 397.5 MB, free: 45.76 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.3216, allocations: 192.7 kB / 397.7 MB, free: 45.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3216, allocations: 4 kB / 397.7 MB, free: 45.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.3218, allocations: 30.11 kB / 397.7 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3218, allocations: 1.188 kB / 397.7 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.3218, allocations: 13.06 kB / 397.7 MB, free: 45.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3218, allocations: 1.094 kB / 397.7 MB, free: 45.51 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3218, allocations: 0 / 397.7 MB, free: 45.51 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.322, allocations: 166.1 kB / 397.9 MB, free: 45.39 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-05/0.3221, allocations: 97.84 kB / 398 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.3221, allocations: 17.42 kB / 398 MB, free: 45.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.185e-05/0.3221, allocations: 5.5 kB / 398 MB, free: 45.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-06/0.3221, allocations: 0 / 398 MB, free: 45.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.3222, allocations: 4.281 kB / 398 MB, free: 45.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.459e-05/0.3222, allocations: 116.5 kB / 398.1 MB, free: 45.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3223, allocations: 0 / 398.1 MB, free: 45.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.3225, allocations: 18.03 kB / 398.2 MB, free: 45.17 MB / 318.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 0.00011/0.3226, allocations: 117.3 kB / 398.3 MB, free: 45.06 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.3229, allocations: 117.4 kB / 398.4 MB, free: 45.01 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3229, allocations: 1.125 kB / 398.4 MB, free: 45.01 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.3229, allocations: 0 / 398.4 MB, free: 45.01 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.3233, allocations: 86.45 kB / 398.5 MB, free: 44.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.3238, allocations: 261.6 kB / 398.7 MB, free: 44.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.324, allocations: 0.7153 MB / 399.4 MB, free: 44.06 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.562e-05/0.3241, allocations: 18.11 kB / 399.5 MB, free: 44.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.3241, allocations: 13.22 kB / 399.5 MB, free: 44.04 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3241, allocations: 0 / 399.5 MB, free: 44.04 MB / 318.1 MB Notification: Performance of Templates: time 0.003844/0.328, allocations: 1.156 MB / 400.6 MB, free: 43.5 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches