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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001285/0.001285, allocations: 174 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205 MB / 222.5 MB, free: 9.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007535/0.0007535, allocations: 82.34 kB / 270.5 MB, free: 8.672 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07669/0.07669, allocations: 12.58 MB / 331 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003798, allocations: 16 kB / 391.7 MB, free: 66.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07511/0.07551, allocations: 49.98 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001063/0.07661, allocations: 0.6337 MB / 442.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003029/0.07694, allocations: 135.6 kB / 442.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.918e-05/0.07704, allocations: 4 kB / 442.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.07716, allocations: 7.922 kB / 442.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.7e-05/0.07725, allocations: 3.938 kB / 442.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.07751, allocations: 35.91 kB / 442.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.07762, allocations: 67.83 kB / 442.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.07776, allocations: 36.48 kB / 442.6 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.093e-05/0.0778, allocations: 15.92 kB / 442.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.52e-05/0.07784, allocations: 27.8 kB / 442.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.07786, allocations: 4 kB / 442.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.07788, allocations: 4 kB / 442.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.463e-05/0.07796, allocations: 23.91 kB / 442.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.07801, allocations: 27.73 kB / 442.7 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.511e-05/0.0781, allocations: 55.91 kB / 442.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.07811, allocations: 0 / 442.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.07812, allocations: 0 / 442.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.07813, allocations: 0 / 442.8 MB, free: 15.31 MB / 298.7 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.0003604/0.0785, allocations: 379.1 kB / 443.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.07855, allocations: 8.031 kB / 443.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.07861, allocations: 20.69 kB / 443.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.07878, allocations: 204 kB / 443.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.0788, allocations: 8.375 kB / 443.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.07883, allocations: 4.375 kB / 443.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.07918, allocations: 235.3 kB / 443.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.0792, allocations: 192 / 443.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.07922, allocations: 7.938 kB / 443.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.07923, allocations: 0 / 443.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.475e-05/0.0793, allocations: 35.98 kB / 443.6 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/0.07944, allocations: 185.6 kB / 443.8 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.07963, allocations: 126.6 kB / 444 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.139e-05/0.07973, allocations: 89.12 kB / 444 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.07976, allocations: 0 / 444 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.07978, allocations: 34.56 kB / 444.1 MB, free: 13.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.012e-06/0.07979, allocations: 0 / 444.1 MB, free: 13.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002456/0.08004, allocations: 161.2 kB / 444.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.08009, allocations: 67.41 kB / 444.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.513e-05/0.08018, allocations: 143.7 kB / 444.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.0802, allocations: 29.7 kB / 444.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.376e-05/0.08023, allocations: 84.47 kB / 444.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.08025, allocations: 15.89 kB / 444.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.08028, allocations: 21.72 kB / 444.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.943e-05/0.08034, allocations: 322.8 kB / 444.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.761e-05/0.08037, allocations: 15.98 kB / 444.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.853e-05/0.08043, allocations: 124.3 kB / 445 MB, free: 12.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.586e-05/0.08054, allocations: 153.5 kB / 445.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.08055, allocations: 0 / 445.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001779/0.08073, allocations: 157.2 kB / 445.3 MB, free: 12.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.08075, allocations: 19.86 kB / 445.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.08077, allocations: 4 kB / 445.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.08079, allocations: 4 kB / 445.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.306e-05/0.08082, allocations: 4.5 kB / 445.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.08083, allocations: 11.94 kB / 445.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.442e-05/0.08089, allocations: 19.84 kB / 445.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.08091, allocations: 8 kB / 445.4 MB, free: 12.34 MB / 298.7 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.0001158/0.08103, allocations: 133.8 kB / 445.5 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.08115, allocations: 121.5 kB / 445.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/0.0812, allocations: 21.19 kB / 445.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.08121, allocations: 3.984 kB / 445.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.08122, allocations: 3.938 kB / 445.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.08123, allocations: 7.984 kB / 445.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.275e-05/0.08131, allocations: 189.5 kB / 445.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.08132, allocations: 0 / 445.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.74e-05/0.08134, allocations: 7.938 kB / 445.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.08135, allocations: 3.938 kB / 445.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.08136, allocations: 4 kB / 445.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.08137, allocations: 0 / 445.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.08138, allocations: 0 / 445.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.08152, allocations: 152.9 kB / 446 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.08158, allocations: 104.8 kB / 446.1 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.0816, allocations: 7.938 kB / 446.2 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.806e-05/0.08163, allocations: 0 / 446.2 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-06/0.08163, allocations: 0 / 446.2 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.08165, allocations: 8 kB / 446.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.388e-05/0.0817, allocations: 107.2 kB / 446.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0817, allocations: 0 / 446.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002198/0.08193, allocations: 16 kB / 446.3 MB, free: 11.36 MB / 298.7 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 8.121e-05/0.08201, allocations: 103.2 kB / 446.4 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.08217, allocations: 91.84 kB / 446.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.08218, allocations: 0 / 446.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.08218, allocations: 0 / 446.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.08252, allocations: 82.06 kB / 446.6 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003005/0.08283, allocations: 284.9 kB / 446.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.08296, allocations: 0.7165 MB / 447.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/0.08299, allocations: 15.38 kB / 447.6 MB, free: 10 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.083, allocations: 4 kB / 447.6 MB, free: 10 MB / 298.7 MB Notification: Performance of Templates: time 0.002202/0.08521, allocations: 1.192 MB / 448.8 MB, free: 8.809 MB / 298.7 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/jenkins1/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