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.001415/0.001415, allocations: 99.98 kB / 16.02 MB, free: 6.262 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.001387/0.001387, allocations: 195.7 kB / 16.95 MB, free: 6.109 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.77/1.77, allocations: 205.1 MB / 222.8 MB, free: 12.44 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.08985/0.08985, allocations: 12.59 MB / 282.7 MB, free: 15.65 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.001766/0.001767, allocations: 84.73 kB / 343 MB, free: 3.316 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3734, allocations: 49.38 MB / 392.4 MB, free: 49.12 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.003123/0.3765, allocations: 0.974 MB / 393.3 MB, free: 48.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004132/0.377, allocations: 131 kB / 393.5 MB, free: 48.44 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.3772, allocations: 1.312 kB / 393.5 MB, free: 48.44 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.3773, allocations: 7.609 kB / 393.5 MB, free: 48.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.3774, allocations: 10.36 kB / 393.5 MB, free: 48.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.3777, allocations: 38 kB / 393.5 MB, free: 48.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.3779, allocations: 62.64 kB / 393.6 MB, free: 48.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.3781, allocations: 41.92 kB / 393.6 MB, free: 48.36 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.903e-05/0.3781, allocations: 28.64 kB / 393.7 MB, free: 48.35 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.543e-05/0.3782, allocations: 33.03 kB / 393.7 MB, free: 48.33 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.3782, allocations: 5.812 kB / 393.7 MB, free: 48.33 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.662e-05/0.3782, allocations: 4.969 kB / 393.7 MB, free: 48.33 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.678e-05/0.3783, allocations: 25.92 kB / 393.7 MB, free: 48.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.023e-05/0.3784, allocations: 46.59 kB / 393.8 MB, free: 48.28 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.3786, allocations: 79.64 kB / 393.8 MB, free: 48.24 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3786, allocations: 0 / 393.8 MB, free: 48.24 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3786, allocations: 1.156 kB / 393.8 MB, free: 48.24 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.3786, allocations: 0 / 393.8 MB, free: 48.24 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.0004132/0.379, allocations: 397 kB / 394.2 MB, free: 47.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3791, allocations: 8.469 kB / 394.2 MB, free: 47.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.3791, allocations: 15.11 kB / 394.3 MB, free: 47.83 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.3793, allocations: 203 kB / 394.5 MB, free: 47.62 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3793, allocations: 3.219 kB / 394.5 MB, free: 47.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.3794, allocations: 13.73 kB / 394.5 MB, free: 47.61 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/0.3798, allocations: 232.9 kB / 394.7 MB, free: 47.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.3798, allocations: 192 / 394.7 MB, free: 47.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.3798, allocations: 3.938 kB / 394.7 MB, free: 47.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3798, allocations: 2.562 kB / 394.7 MB, free: 47.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.558e-05/0.3799, allocations: 37 kB / 394.7 MB, free: 47.47 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.3802, allocations: 183.6 kB / 394.9 MB, free: 47.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.3805, allocations: 134.6 kB / 395.1 MB, free: 47.2 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.3807, allocations: 80.91 kB / 395.1 MB, free: 47.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.3807, allocations: 2 kB / 395.1 MB, free: 47.17 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.3808, allocations: 36.31 kB / 395.2 MB, free: 47.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.3808, allocations: 0 / 395.2 MB, free: 47.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004425/0.3812, allocations: 156.3 kB / 395.3 MB, free: 47.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.3813, allocations: 65.23 kB / 395.4 MB, free: 46.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.3815, allocations: 147.1 kB / 395.5 MB, free: 46.86 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3815, allocations: 30.86 kB / 395.6 MB, free: 46.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.3816, allocations: 86.73 kB / 395.6 MB, free: 46.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.3816, allocations: 10.19 kB / 395.7 MB, free: 46.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.3817, allocations: 39.62 kB / 395.7 MB, free: 46.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.3818, allocations: 320.2 kB / 396 MB, free: 46.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.979e-05/0.3819, allocations: 25.92 kB / 396 MB, free: 46.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.686e-05/0.382, allocations: 110.4 kB / 396.1 MB, free: 46.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.3821, allocations: 150.3 kB / 396.3 MB, free: 46.08 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3822, allocations: 9.094 kB / 396.3 MB, free: 46.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002408/0.3824, allocations: 151.1 kB / 396.4 MB, free: 46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3824, allocations: 11.97 kB / 396.5 MB, free: 45.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3824, allocations: 5.125 kB / 396.5 MB, free: 45.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.3825, allocations: 8.688 kB / 396.5 MB, free: 45.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.246e-05/0.3825, allocations: 11.02 kB / 396.5 MB, free: 45.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.3825, allocations: 10.12 kB / 396.5 MB, free: 45.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.522e-05/0.3826, allocations: 19.09 kB / 396.5 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.3826, allocations: 6.062 kB / 396.5 MB, free: 45.97 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.000172/0.3828, allocations: 138.6 kB / 396.6 MB, free: 45.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.383, allocations: 122.2 kB / 396.8 MB, free: 45.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.383, allocations: 21.23 kB / 396.8 MB, free: 45.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.383, allocations: 2.219 kB / 396.8 MB, free: 45.76 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.383, allocations: 0 / 396.8 MB, free: 45.76 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.383, allocations: 1.453 kB / 396.8 MB, free: 45.76 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.3832, allocations: 190 kB / 397 MB, free: 45.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3832, allocations: 1.438 kB / 397 MB, free: 45.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.3832, allocations: 2.078 kB / 397 MB, free: 45.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.3832, allocations: 6.094 kB / 397 MB, free: 45.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.3832, allocations: 1.438 kB / 397 MB, free: 45.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3833, allocations: 0.6562 kB / 397 MB, free: 45.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3833, allocations: 3.938 kB / 397 MB, free: 45.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.3835, allocations: 149.7 kB / 397.1 MB, free: 45.44 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-05/0.3836, allocations: 98.27 kB / 397.2 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.3837, allocations: 10 kB / 397.2 MB, free: 45.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.468e-05/0.3837, allocations: 5.188 kB / 397.2 MB, free: 45.33 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-06/0.3837, allocations: 3.984 kB / 397.3 MB, free: 45.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.3837, allocations: 4.125 kB / 397.3 MB, free: 45.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.616e-05/0.3838, allocations: 109.7 kB / 397.4 MB, free: 45.24 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3838, allocations: 5.5 kB / 397.4 MB, free: 45.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000275/0.3841, allocations: 15.91 kB / 397.4 MB, free: 45.23 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.0001121/0.3842, allocations: 105.6 kB / 397.5 MB, free: 45.13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002263/0.3844, allocations: 102 kB / 397.6 MB, free: 45.1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3844, allocations: 0 / 397.6 MB, free: 45.1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.522e-06/0.3845, allocations: 10.38 kB / 397.6 MB, free: 45.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.3849, allocations: 86.34 kB / 397.7 MB, free: 45.06 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/0.3855, allocations: 253.6 kB / 397.9 MB, free: 44.87 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.3858, allocations: 0.7127 MB / 398.6 MB, free: 44.17 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.534e-05/0.3858, allocations: 7.719 kB / 398.6 MB, free: 44.17 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.3859, allocations: 14.34 kB / 398.7 MB, free: 44.16 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3859, allocations: 0 / 398.7 MB, free: 44.16 MB / 318.1 MB Notification: Performance of Templates: time 0.004593/0.3905, allocations: 1.029 MB / 399.7 MB, free: 43.71 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","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches