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.001365/0.001364, allocations: 106.8 kB / 16.03 MB, free: 6.312 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.001285/0.001285, allocations: 195.9 kB / 16.95 MB, free: 6.129 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.735/1.735, allocations: 205.1 MB / 222.8 MB, free: 12.42 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.08511/0.08511, allocations: 12.59 MB / 282.7 MB, free: 15.62 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.001759/0.001759, allocations: 91.88 kB / 343 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3136, allocations: 49.38 MB / 392.4 MB, free: 49.14 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.003103/0.3168, allocations: 0.971 MB / 393.3 MB, free: 48.53 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003547/0.3171, allocations: 138.8 kB / 393.5 MB, free: 48.44 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.3173, allocations: 5.344 kB / 393.5 MB, free: 48.44 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.3174, allocations: 8.359 kB / 393.5 MB, free: 48.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.3175, allocations: 11.95 kB / 393.5 MB, free: 48.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.3178, allocations: 43.09 kB / 393.5 MB, free: 48.4 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.3179, allocations: 68.44 kB / 393.6 MB, free: 48.37 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.3181, allocations: 44.08 kB / 393.6 MB, free: 48.36 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.507e-05/0.3181, allocations: 24.66 kB / 393.7 MB, free: 48.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.3183, allocations: 39.67 kB / 393.7 MB, free: 48.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.3183, allocations: 6.594 kB / 393.7 MB, free: 48.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.83e-05/0.3183, allocations: 5.719 kB / 393.7 MB, free: 48.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.115e-05/0.3184, allocations: 28.66 kB / 393.8 MB, free: 48.31 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.574e-05/0.3185, allocations: 44.11 kB / 393.8 MB, free: 48.28 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.3186, allocations: 95.92 kB / 393.9 MB, free: 48.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3186, allocations: 0 / 393.9 MB, free: 48.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3186, allocations: 0 / 393.9 MB, free: 48.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3187, allocations: 1.469 kB / 393.9 MB, free: 48.23 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.0005723/0.3192, allocations: 415.7 kB / 394.3 MB, free: 47.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.3193, allocations: 13.22 kB / 394.3 MB, free: 47.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.3194, allocations: 16.42 kB / 394.3 MB, free: 47.81 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.3196, allocations: 205.4 kB / 394.5 MB, free: 47.6 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.3196, allocations: 4.406 kB / 394.5 MB, free: 47.6 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.3196, allocations: 14.44 kB / 394.5 MB, free: 47.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005315/0.3202, allocations: 248.8 kB / 394.8 MB, free: 47.46 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3202, allocations: 192 / 394.8 MB, free: 47.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.3202, allocations: 7.938 kB / 394.8 MB, free: 47.46 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3202, allocations: 6.75 kB / 394.8 MB, free: 47.45 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.3203, allocations: 49.58 kB / 394.8 MB, free: 47.44 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.3205, allocations: 193 kB / 395 MB, free: 47.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.3208, allocations: 140.1 kB / 395.2 MB, free: 47.17 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.3209, allocations: 86.05 kB / 395.3 MB, free: 47.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.321, allocations: 7.844 kB / 395.3 MB, free: 47.14 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.321, allocations: 38.5 kB / 395.3 MB, free: 47.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.321, allocations: 0 / 395.3 MB, free: 47.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003433/0.3213, allocations: 177.4 kB / 395.5 MB, free: 47.01 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.3214, allocations: 61 kB / 395.5 MB, free: 46.94 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.3216, allocations: 169.7 kB / 395.7 MB, free: 46.81 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.3216, allocations: 30.77 kB / 395.7 MB, free: 46.78 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.3216, allocations: 91.84 kB / 395.8 MB, free: 46.69 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.3217, allocations: 13.92 kB / 395.8 MB, free: 46.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.3217, allocations: 42.66 kB / 395.9 MB, free: 46.65 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.046e-05/0.3218, allocations: 321.7 kB / 396.2 MB, free: 46.33 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.329e-05/0.3218, allocations: 24.62 kB / 396.2 MB, free: 46.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.889e-05/0.3219, allocations: 120.3 kB / 396.3 MB, free: 46.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.3221, allocations: 153.3 kB / 396.5 MB, free: 46.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3221, allocations: 1.375 kB / 396.5 MB, free: 46.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002154/0.3223, allocations: 163.8 kB / 396.6 MB, free: 45.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.3223, allocations: 9.781 kB / 396.7 MB, free: 45.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3223, allocations: 7.516 kB / 396.7 MB, free: 45.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.3224, allocations: 4.125 kB / 396.7 MB, free: 45.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.3225, allocations: 37.2 kB / 396.7 MB, free: 45.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.3225, allocations: 10.03 kB / 396.7 MB, free: 45.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.3226, allocations: 8.75 kB / 396.7 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.3226, allocations: 12.59 kB / 396.7 MB, free: 45.91 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.0001072/0.3227, allocations: 151.6 kB / 396.9 MB, free: 45.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.3229, allocations: 132.7 kB / 397 MB, free: 45.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.333e-05/0.323, allocations: 26.56 kB / 397 MB, free: 45.69 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.323, allocations: 1.781 kB / 397 MB, free: 45.69 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.323, allocations: 0 / 397 MB, free: 45.69 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.323, allocations: 1.312 kB / 397 MB, free: 45.69 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.3231, allocations: 190.2 kB / 397.2 MB, free: 45.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3231, allocations: 4 kB / 397.2 MB, free: 45.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.3233, allocations: 30.2 kB / 397.3 MB, free: 45.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.3233, allocations: 2.094 kB / 397.3 MB, free: 45.48 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.3233, allocations: 7.938 kB / 397.3 MB, free: 45.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3233, allocations: 3.109 kB / 397.3 MB, free: 45.47 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3233, allocations: 0 / 397.3 MB, free: 45.47 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.3235, allocations: 166.3 kB / 397.4 MB, free: 45.36 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.79e-05/0.3236, allocations: 99 kB / 397.5 MB, free: 45.26 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.3236, allocations: 5.703 kB / 397.5 MB, free: 45.26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.626e-05/0.3237, allocations: 11.5 kB / 397.5 MB, free: 45.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-06/0.3237, allocations: 0 / 397.5 MB, free: 45.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.3237, allocations: 3.656 kB / 397.6 MB, free: 45.25 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.144e-05/0.3238, allocations: 122.1 kB / 397.7 MB, free: 45.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3238, allocations: 0 / 397.7 MB, free: 45.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002366/0.324, allocations: 16.75 kB / 397.7 MB, free: 45.16 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.0001067/0.3242, allocations: 110.8 kB / 397.8 MB, free: 45.05 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002461/0.3244, allocations: 119.2 kB / 397.9 MB, free: 45.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3244, allocations: 0 / 397.9 MB, free: 45.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.2e-07/0.3244, allocations: 7.875 kB / 397.9 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.0003964/0.3248, allocations: 91.89 kB / 398 MB, free: 44.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/0.3252, allocations: 295 kB / 398.3 MB, free: 44.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.3254, allocations: 0.7143 MB / 399 MB, free: 44.04 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.326e-05/0.3255, allocations: 10.06 kB / 399 MB, free: 44.04 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.3255, allocations: 18.02 kB / 399 MB, free: 44.03 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3255, allocations: 0 / 399 MB, free: 44.03 MB / 318.1 MB Notification: Performance of Templates: time 0.003545/0.329, allocations: 1.153 MB / 400.2 MB, free: 43.48 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","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches