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.0008535/0.0008535, allocations: 175.3 kB / 16.45 MB, free: 5.684 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.259/1.259, allocations: 205.4 MB / 222.6 MB, free: 9.113 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.0007165/0.0007167, allocations: 90.34 kB / 270.9 MB, free: 8.355 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.06666/0.06666, allocations: 12.6 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004046/0.0004046, allocations: 15.98 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09252/0.09294, allocations: 50.37 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001188/0.09418, allocations: 0.6139 MB / 443.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003078/0.0945, allocations: 147.6 kB / 443.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.943e-05/0.0946, allocations: 0 / 443.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.591e-05/0.0947, allocations: 3.938 kB / 443.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.051e-05/0.0948, allocations: 7.938 kB / 443.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.09503, allocations: 39.89 kB / 443.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.823e-05/0.09512, allocations: 51.84 kB / 443.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.09525, allocations: 40.38 kB / 443.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.941e-05/0.09528, allocations: 11.94 kB / 443.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.814e-05/0.09533, allocations: 23.84 kB / 444 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.09535, allocations: 4 kB / 444 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.09537, allocations: 0 / 444 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.655e-05/0.09543, allocations: 23.91 kB / 444 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.09546, allocations: 37.64 kB / 444 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.595e-05/0.09555, allocations: 47.91 kB / 444.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.09556, allocations: 0 / 444.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.09556, allocations: 0 / 444.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.09557, allocations: 4 kB / 444.1 MB, free: 14.74 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.0003261/0.0959, allocations: 387.1 kB / 444.5 MB, free: 14.31 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.09596, allocations: 8.031 kB / 444.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.09601, allocations: 15.81 kB / 444.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.09621, allocations: 195.8 kB / 444.7 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.09624, allocations: 11.95 kB / 444.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.09626, allocations: 8 kB / 444.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.09661, allocations: 222.8 kB / 444.9 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.09663, allocations: 3.953 kB / 444.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.09665, allocations: 4 kB / 444.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.09666, allocations: 4 kB / 444.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.421e-05/0.09673, allocations: 35.97 kB / 445 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.09686, allocations: 181.6 kB / 445.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.09706, allocations: 135 kB / 445.3 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.997e-05/0.09716, allocations: 72.83 kB / 445.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.09717, allocations: 4 kB / 445.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.0972, allocations: 34.56 kB / 445.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.0972, allocations: 4 kB / 445.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002344/0.09744, allocations: 161.2 kB / 445.5 MB, free: 13.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.0975, allocations: 59.41 kB / 445.6 MB, free: 13.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.705e-05/0.09759, allocations: 151.9 kB / 445.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.09761, allocations: 25.7 kB / 445.8 MB, free: 12.85 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.468e-05/0.09764, allocations: 84.47 kB / 445.8 MB, free: 12.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.09766, allocations: 15.92 kB / 445.9 MB, free: 12.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.09767, allocations: 4 kB / 445.9 MB, free: 12.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.033e-05/0.09773, allocations: 326.8 kB / 446.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.667e-05/0.09776, allocations: 12 kB / 446.2 MB, free: 12.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.174e-05/0.09783, allocations: 121.7 kB / 446.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.167e-05/0.09789, allocations: 39.94 kB / 446.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.09789, allocations: 0 / 446.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000163/0.09806, allocations: 165.5 kB / 446.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.09808, allocations: 8 kB / 446.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.0981, allocations: 7.984 kB / 446.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.09812, allocations: 4 kB / 446.5 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.632e-05/0.09815, allocations: 11.95 kB / 446.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.09816, allocations: 7.938 kB / 446.6 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.396e-05/0.09822, allocations: 7.938 kB / 446.6 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.09823, allocations: 12 kB / 446.6 MB, free: 11.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.09836, allocations: 142.7 kB / 446.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.09848, allocations: 113.5 kB / 446.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.68e-05/0.09852, allocations: 21.12 kB / 446.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.09853, allocations: 0 / 446.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.09854, allocations: 3.953 kB / 446.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.09855, allocations: 3.984 kB / 446.9 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.609e-05/0.09863, allocations: 189.5 kB / 447 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.09864, allocations: 0 / 447 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.077e-05/0.09866, allocations: 11.92 kB / 447.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.09867, allocations: 4 kB / 447.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.09868, allocations: 4 kB / 447.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.09869, allocations: 0 / 447.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.09869, allocations: 0 / 447.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.09883, allocations: 152.9 kB / 447.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.09889, allocations: 104.8 kB / 447.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.09891, allocations: 4 kB / 447.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.934e-05/0.09894, allocations: 0 / 447.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-06/0.09895, allocations: 0 / 447.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.09896, allocations: 8 kB / 447.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.68e-05/0.09901, allocations: 109.8 kB / 447.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.09901, allocations: 0 / 447.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002144/0.09923, allocations: 19.94 kB / 447.4 MB, free: 10.99 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.1e-05/0.09933, allocations: 107.1 kB / 447.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.09949, allocations: 92.53 kB / 447.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.0995, allocations: 0 / 447.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.0995, allocations: 0 / 447.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.09985, allocations: 84.72 kB / 447.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.1002, allocations: 269.8 kB / 448 MB, free: 10.4 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.1003, allocations: 0.7125 MB / 448.7 MB, free: 9.664 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.1004, allocations: 11.44 kB / 448.7 MB, free: 9.652 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1004, allocations: 0 / 448.7 MB, free: 9.652 MB / 298.7 MB Notification: Performance of Templates: time 0.002288/0.1027, allocations: 1.196 MB / 449.9 MB, free: 8.457 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