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.001443/0.001443, allocations: 172.9 kB / 16.8 MB, free: 4.992 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.573/1.573, allocations: 205.4 MB / 223 MB, free: 8.922 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.0007337/0.0007338, allocations: 85.62 kB / 271.3 MB, free: 8.234 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.06948/0.06948, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003315, allocations: 8 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07311/0.07346, allocations: 50.38 MB / 443.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.0009759/0.07447, allocations: 0.622 MB / 444.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002679/0.07476, allocations: 139.6 kB / 444.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.553e-05/0.07487, allocations: 4 kB / 444.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.033e-05/0.07496, allocations: 3.938 kB / 444.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.357e-05/0.07504, allocations: 3.984 kB / 444.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.07524, allocations: 39.91 kB / 444.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.678e-05/0.07534, allocations: 67.83 kB / 444.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.07546, allocations: 36.5 kB / 444.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.6e-05/0.07549, allocations: 7.938 kB / 444.6 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.288e-05/0.07553, allocations: 35.72 kB / 444.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.07555, allocations: 0 / 444.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.07557, allocations: 4 kB / 444.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.004e-05/0.07564, allocations: 27.84 kB / 444.7 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.07569, allocations: 49.45 kB / 444.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.072e-05/0.07577, allocations: 59.89 kB / 444.8 MB, free: 14.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.07578, allocations: 0 / 444.8 MB, free: 14.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.07578, allocations: 0 / 444.8 MB, free: 14.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.07579, allocations: 0 / 444.8 MB, free: 14.33 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.0002729/0.07607, allocations: 379.2 kB / 445.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.07611, allocations: 8.031 kB / 445.2 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.07615, allocations: 16.75 kB / 445.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.07631, allocations: 205.9 kB / 445.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.07632, allocations: 8.375 kB / 445.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.07634, allocations: 12.36 kB / 445.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.07666, allocations: 231.4 kB / 445.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.07668, allocations: 192 / 445.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.0767, allocations: 3.938 kB / 445.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.0767, allocations: 0 / 445.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.234e-05/0.07677, allocations: 45.33 kB / 445.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001027/0.07688, allocations: 185.6 kB / 445.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.07706, allocations: 127 kB / 446 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.594e-05/0.07715, allocations: 76.83 kB / 446.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.07717, allocations: 8 kB / 446.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.07719, allocations: 30.56 kB / 446.1 MB, free: 12.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.0772, allocations: 0 / 446.1 MB, free: 12.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002231/0.07743, allocations: 161.3 kB / 446.2 MB, free: 12.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.07748, allocations: 63.41 kB / 446.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.448e-05/0.07756, allocations: 137.8 kB / 446.4 MB, free: 12.47 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.07758, allocations: 29.7 kB / 446.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.145e-05/0.07761, allocations: 92.41 kB / 446.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.07763, allocations: 19.88 kB / 446.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.07764, allocations: 4 kB / 446.6 MB, free: 12.31 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.151e-05/0.07769, allocations: 318.8 kB / 446.9 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.836e-05/0.07772, allocations: 19.98 kB / 446.9 MB, free: 11.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.395e-05/0.07778, allocations: 120.4 kB / 447 MB, free: 11.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.019e-05/0.07788, allocations: 153.5 kB / 447.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.07789, allocations: 0 / 447.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000158/0.07805, allocations: 161.4 kB / 447.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.07807, allocations: 7.938 kB / 447.3 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.07808, allocations: 4 kB / 447.4 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.0781, allocations: 8 kB / 447.4 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.527e-05/0.07813, allocations: 15.86 kB / 447.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.07814, allocations: 4 kB / 447.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.067e-05/0.0782, allocations: 15.84 kB / 447.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.07821, allocations: 8 kB / 447.4 MB, free: 11.38 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,unitDelay2.u,$CLKPRE.unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,unitDelay1.u,$CLKPRE.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.0001043/0.07832, allocations: 142.9 kB / 447.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.07844, allocations: 125.4 kB / 447.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.07849, allocations: 17.19 kB / 447.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.07849, allocations: 4 kB / 447.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.0785, allocations: 0 / 447.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.07851, allocations: 0 / 447.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.588e-05/0.07858, allocations: 185.5 kB / 447.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.07859, allocations: 0 / 447.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.824e-05/0.07861, allocations: 15.98 kB / 447.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.07862, allocations: 3.938 kB / 447.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.07863, allocations: 0 / 447.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.07864, allocations: 4 kB / 447.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.07865, allocations: 0 / 447.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.0788, allocations: 144.9 kB / 448 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.07887, allocations: 108.8 kB / 448.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.07889, allocations: 11.94 kB / 448.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.131e-05/0.07892, allocations: 4 kB / 448.2 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-06/0.07893, allocations: 3.984 kB / 448.2 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.07894, allocations: 8 kB / 448.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.016e-05/0.07899, allocations: 107.2 kB / 448.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.07899, allocations: 0 / 448.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002038/0.0792, allocations: 16 kB / 448.3 MB, free: 10.4 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 7.671e-05/0.07928, allocations: 99.19 kB / 448.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.07944, allocations: 99.78 kB / 448.5 MB, free: 10.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.07945, allocations: 0 / 448.5 MB, free: 10.19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.07945, allocations: 0 / 448.5 MB, free: 10.19 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.07981, allocations: 80.78 kB / 448.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.08012, allocations: 286.4 kB / 448.8 MB, free: 9.797 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.08024, allocations: 0.7126 MB / 449.6 MB, free: 9.059 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.08028, allocations: 15.44 kB / 449.6 MB, free: 9.043 MB / 298.7 MB Notification: Performance of SimCode: time 3.6e-07/0.08028, allocations: 0 / 449.6 MB, free: 9.043 MB / 298.7 MB Notification: Performance of Templates: time 0.002068/0.08236, allocations: 1.185 MB / 450.8 MB, free: 7.859 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