Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|unitDelay2.y|xor.y|xor1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|unitDelay2.y|xor.y|xor1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 103.1 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.00197/0.001971, allocations: 192.3 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.881/1.881, 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.08622/0.08622, 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.002785/0.002785, allocations: 88.53 kB / 343.5 MB, free: 2.941 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3268, allocations: 49.38 MB / 392.9 MB, free: 49.15 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002812/0.3297, allocations: 0.921 MB / 393.8 MB, free: 48.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003896/0.3301, allocations: 132.5 kB / 393.9 MB, free: 48.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.945e-05/0.3302, allocations: 6.688 kB / 393.9 MB, free: 48.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.3303, allocations: 9.797 kB / 393.9 MB, free: 48.49 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.705e-05/0.3304, allocations: 8.406 kB / 393.9 MB, free: 48.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.3307, allocations: 50.98 kB / 394 MB, free: 48.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.3308, allocations: 61.44 kB / 394.1 MB, free: 48.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.331, allocations: 42.84 kB / 394.1 MB, free: 48.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.607e-05/0.331, allocations: 19.64 kB / 394.1 MB, free: 48.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.853e-05/0.3311, allocations: 32.2 kB / 394.2 MB, free: 48.39 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.3311, allocations: 5.625 kB / 394.2 MB, free: 48.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.186e-05/0.3312, allocations: 6.688 kB / 394.2 MB, free: 48.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.3313, allocations: 31.98 kB / 394.2 MB, free: 48.37 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.975e-05/0.3314, allocations: 38.36 kB / 394.2 MB, free: 48.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.3315, allocations: 76.14 kB / 394.3 MB, free: 48.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3315, allocations: 0 / 394.3 MB, free: 48.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3316, allocations: 4 kB / 394.3 MB, free: 48.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.3316, allocations: 0.8438 kB / 394.3 MB, free: 48.3 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.000422/0.332, allocations: 392.1 kB / 394.7 MB, free: 47.9 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.332, allocations: 9.781 kB / 394.7 MB, free: 47.9 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.3321, allocations: 11.17 kB / 394.7 MB, free: 47.9 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.3323, allocations: 203.3 kB / 394.9 MB, free: 47.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.3323, allocations: 7.938 kB / 394.9 MB, free: 47.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.3323, allocations: 6.469 kB / 394.9 MB, free: 47.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004276/0.3328, allocations: 233.2 kB / 395.2 MB, free: 47.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3328, allocations: 0.7969 kB / 395.2 MB, free: 47.55 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3328, allocations: 3.938 kB / 395.2 MB, free: 47.55 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3328, allocations: 2.688 kB / 395.2 MB, free: 47.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.248e-05/0.3329, allocations: 35.12 kB / 395.2 MB, free: 47.54 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.3331, allocations: 189 kB / 395.4 MB, free: 47.33 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.3333, allocations: 128.9 kB / 395.5 MB, free: 47.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.3334, allocations: 84.38 kB / 395.6 MB, free: 47.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.3335, allocations: 6.125 kB / 395.6 MB, free: 47.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.3335, allocations: 35.62 kB / 395.6 MB, free: 47.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.3335, allocations: 0 / 395.6 MB, free: 47.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002997/0.3338, allocations: 157.8 kB / 395.8 MB, free: 47.11 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.3338, allocations: 60.69 kB / 395.8 MB, free: 47.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.334, allocations: 145.6 kB / 396 MB, free: 46.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.334, allocations: 29.7 kB / 396 MB, free: 46.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.979e-05/0.334, allocations: 87.75 kB / 396.1 MB, free: 46.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.3341, allocations: 12.48 kB / 396.1 MB, free: 46.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.3341, allocations: 39.47 kB / 396.2 MB, free: 46.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.309e-05/0.3342, allocations: 324.3 kB / 396.5 MB, free: 46.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.725e-05/0.3342, allocations: 22.55 kB / 396.5 MB, free: 46.44 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.579e-05/0.3343, allocations: 114.5 kB / 396.6 MB, free: 46.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.3344, allocations: 156.5 kB / 396.8 MB, free: 46.14 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3344, allocations: 0.7969 kB / 396.8 MB, free: 46.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000188/0.3346, allocations: 154 kB / 396.9 MB, free: 46.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.3346, allocations: 16.25 kB / 396.9 MB, free: 46.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3347, allocations: 2.938 kB / 396.9 MB, free: 46.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.3347, allocations: 6.125 kB / 396.9 MB, free: 46.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.886e-05/0.3347, allocations: 11.55 kB / 396.9 MB, free: 46.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.3347, allocations: 4.344 kB / 396.9 MB, free: 46.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.062e-05/0.3348, allocations: 14.3 kB / 397 MB, free: 46.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.3348, allocations: 7.438 kB / 397 MB, free: 46.04 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 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],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.0001591/0.335, allocations: 146.5 kB / 397.1 MB, free: 45.9 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.3351, allocations: 118.5 kB / 397.2 MB, free: 45.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.38e-05/0.3352, allocations: 17.33 kB / 397.2 MB, free: 45.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.3352, allocations: 1.5 kB / 397.2 MB, free: 45.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3352, allocations: 0 / 397.2 MB, free: 45.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.3352, allocations: 1.406 kB / 397.2 MB, free: 45.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.3353, allocations: 197.7 kB / 397.4 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3354, allocations: 1.344 kB / 397.4 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.716e-05/0.3354, allocations: 2.578 kB / 397.4 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3354, allocations: 5.062 kB / 397.4 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.3354, allocations: 9.375 kB / 397.5 MB, free: 45.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3354, allocations: 2.141 kB / 397.5 MB, free: 45.6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3354, allocations: 0 / 397.5 MB, free: 45.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.3356, allocations: 151.5 kB / 397.6 MB, free: 45.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.3357, allocations: 97.75 kB / 397.7 MB, free: 45.39 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.3357, allocations: 4.312 kB / 397.7 MB, free: 45.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.186e-05/0.3357, allocations: 10.05 kB / 397.7 MB, free: 45.38 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-06/0.3357, allocations: 0 / 397.7 MB, free: 45.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.3357, allocations: 14.45 kB / 397.7 MB, free: 45.37 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.185e-05/0.3358, allocations: 108.2 kB / 397.8 MB, free: 45.28 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3358, allocations: 0 / 397.8 MB, free: 45.28 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.336, allocations: 16.5 kB / 397.9 MB, free: 45.28 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,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.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.0001023/0.3362, allocations: 105.4 kB / 398 MB, free: 45.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.3364, allocations: 110.8 kB / 398.1 MB, free: 45.13 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3364, allocations: 0 / 398.1 MB, free: 45.13 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.3364, allocations: 1.25 kB / 398.1 MB, free: 45.13 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.3368, allocations: 85.53 kB / 398.1 MB, free: 45.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.3371, allocations: 222.5 kB / 398.4 MB, free: 44.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.3373, allocations: 0.7106 MB / 399.1 MB, free: 44.2 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.496e-05/0.3373, allocations: 9.172 kB / 399.1 MB, free: 44.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.3374, allocations: 13.22 kB / 399.1 MB, free: 44.19 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3374, allocations: 1.062 kB / 399.1 MB, free: 44.19 MB / 318.1 MB Notification: Performance of Templates: time 0.003579/0.341, allocations: 1.038 MB / 400.1 MB, free: 43.69 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches