Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_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_cpp_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.001989/0.001989, allocations: 178.6 kB / 16.77 MB, free: 4.926 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.673/1.673, allocations: 205.4 MB / 222.9 MB, free: 8.934 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.0007163/0.0007162, allocations: 96.3 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.06937/0.06937, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004115/0.0004116, allocations: 12 kB / 392.6 MB, free: 66.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08137/0.0818, allocations: 50.37 MB / 443 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001047/0.08289, allocations: 0.6142 MB / 443.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002904/0.0832, allocations: 131.6 kB / 443.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.94e-05/0.08329, allocations: 0 / 443.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.877e-05/0.08339, allocations: 11.92 kB / 443.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.02e-05/0.08348, allocations: 3.938 kB / 443.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.0837, allocations: 39.95 kB / 443.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.219e-05/0.0838, allocations: 55.84 kB / 443.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.08393, allocations: 40.2 kB / 443.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.851e-05/0.08396, allocations: 19.88 kB / 443.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.833e-05/0.084, allocations: 19.84 kB / 443.9 MB, free: 15.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.08403, allocations: 4 kB / 443.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.08404, allocations: 0 / 443.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.968e-05/0.08412, allocations: 27.91 kB / 443.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.634e-05/0.08418, allocations: 53.52 kB / 444 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.996e-05/0.08426, allocations: 47.89 kB / 444 MB, free: 15.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.08427, allocations: 0 / 444 MB, free: 15.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.08428, allocations: 0 / 444 MB, free: 15.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.08429, allocations: 4 kB / 444 MB, free: 15.05 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.0002958/0.08459, allocations: 383.3 kB / 444.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.08463, allocations: 12.03 kB / 444.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.08467, allocations: 12.75 kB / 444.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.08484, allocations: 200.7 kB / 444.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.08486, allocations: 12.38 kB / 444.6 MB, free: 14.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.08488, allocations: 8.375 kB / 444.6 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003169/0.0852, allocations: 227.3 kB / 444.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.08522, allocations: 4.188 kB / 444.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.08524, allocations: 11.94 kB / 444.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.08525, allocations: 0 / 444.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.249e-05/0.08531, allocations: 31.98 kB / 444.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.08544, allocations: 189.6 kB / 445.1 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.08562, allocations: 122.6 kB / 445.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.922e-05/0.08572, allocations: 81.14 kB / 445.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.08574, allocations: 4 kB / 445.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.08576, allocations: 38.55 kB / 445.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.08577, allocations: 0 / 445.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002295/0.086, allocations: 157.3 kB / 445.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.08605, allocations: 67.34 kB / 445.6 MB, free: 13.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.469e-05/0.08615, allocations: 139.7 kB / 445.7 MB, free: 13.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.597e-06/0.08616, allocations: 29.7 kB / 445.7 MB, free: 13.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.379e-05/0.08619, allocations: 88.45 kB / 445.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.08621, allocations: 11.91 kB / 445.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.08622, allocations: 4 kB / 445.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.156e-05/0.08628, allocations: 322.8 kB / 446.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.825e-05/0.08631, allocations: 23.92 kB / 446.2 MB, free: 12.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.689e-05/0.08638, allocations: 116.3 kB / 446.3 MB, free: 12.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.585e-05/0.08648, allocations: 157.5 kB / 446.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.08649, allocations: 0 / 446.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001569/0.08665, allocations: 153.2 kB / 446.6 MB, free: 12.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.08667, allocations: 15.92 kB / 446.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.08668, allocations: 0 / 446.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.0867, allocations: 8 kB / 446.6 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.269e-05/0.08673, allocations: 8 kB / 446.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.08674, allocations: 7.938 kB / 446.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.973e-05/0.0868, allocations: 16.34 kB / 446.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.08681, allocations: 12 kB / 446.6 MB, free: 12.11 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.000126/0.08694, allocations: 137.8 kB / 446.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.08709, allocations: 117.5 kB / 446.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.08714, allocations: 17.19 kB / 446.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.08715, allocations: 4 kB / 446.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.08715, allocations: 0 / 446.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.08716, allocations: 3.984 kB / 446.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.762e-05/0.08724, allocations: 185.5 kB / 447.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.08725, allocations: 4 kB / 447.1 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.763e-05/0.08727, allocations: 7.938 kB / 447.1 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.08728, allocations: 3.938 kB / 447.1 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.08729, allocations: 4 kB / 447.1 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.0873, allocations: 0 / 447.1 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.08731, allocations: 3.984 kB / 447.1 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.08745, allocations: 148.9 kB / 447.3 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.08751, allocations: 100.9 kB / 447.4 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.08753, allocations: 7.938 kB / 447.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.912e-05/0.08756, allocations: 4 kB / 447.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-06/0.08756, allocations: 4 kB / 447.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.08757, allocations: 4 kB / 447.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.384e-05/0.08762, allocations: 107.2 kB / 447.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08763, allocations: 0 / 447.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002032/0.08784, allocations: 16 kB / 447.5 MB, free: 11.14 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 8.474e-05/0.08793, allocations: 111.1 kB / 447.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.08807, allocations: 92.62 kB / 447.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.08808, allocations: 3.938 kB / 447.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.08809, allocations: 0 / 447.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.08842, allocations: 81.36 kB / 447.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.08873, allocations: 273 kB / 448.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.08886, allocations: 0.7125 MB / 448.8 MB, free: 9.805 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.0889, allocations: 15.44 kB / 448.8 MB, free: 9.789 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.0889, allocations: 0 / 448.8 MB, free: 9.789 MB / 298.7 MB Notification: Performance of Templates: time 0.002056/0.09097, allocations: 1.177 MB / 450 MB, free: 8.613 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches