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.001481/0.001481, allocations: 186.2 kB / 16.44 MB, free: 5.672 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.92/1.92, allocations: 205.4 MB / 222.6 MB, free: 9.125 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.001145/0.001145, allocations: 85.34 kB / 270.9 MB, free: 8.383 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.09913/0.09913, allocations: 12.59 MB / 331.8 MB, free: 11.4 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005445/0.0005446, allocations: 15.98 kB / 392 MB, free: 66.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09197/0.09255, allocations: 50.37 MB / 442.3 MB, free: 16.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4087/0.5013, allocations: 77.96 MB / 0.5081 GB, free: 12.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.5016, allocations: 73.09 kB / 0.5082 GB, free: 12.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005397/0.507, allocations: 1.562 MB / 0.5097 GB, free: 12.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5071, allocations: 0 / 0.5097 GB, free: 12.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.5071, allocations: 7.844 kB / 0.5097 GB, free: 12.43 MB / 330.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.0003593/0.5075, allocations: 376 kB / 0.5101 GB, free: 12.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.5076, allocations: 11.66 kB / 0.5101 GB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.5076, allocations: 11.66 kB / 0.5101 GB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.5078, allocations: 201 kB / 0.5103 GB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.5078, allocations: 7.781 kB / 0.5103 GB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.5079, allocations: 7.781 kB / 0.5103 GB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004705/0.5083, allocations: 215.3 kB / 0.5105 GB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.5084, allocations: 3.938 kB / 0.5105 GB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.5084, allocations: 0 / 0.5105 GB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.5084, allocations: 3.875 kB / 0.5105 GB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.5085, allocations: 35.59 kB / 0.5105 GB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.5087, allocations: 191.6 kB / 0.5107 GB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.509, allocations: 123.7 kB / 0.5108 GB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.509, allocations: 3.984 kB / 0.5109 GB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.509, allocations: 34.44 kB / 0.5109 GB, free: 11.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.814e-06/0.5091, allocations: 0 / 0.5109 GB, free: 11.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003821/0.5094, allocations: 158.5 kB / 0.511 GB, free: 11.37 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.5095, allocations: 62.94 kB / 0.5111 GB, free: 11.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.5096, allocations: 138.6 kB / 0.5112 GB, free: 11.19 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.5097, allocations: 29.52 kB / 0.5113 GB, free: 11.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/0.5097, allocations: 150.9 kB / 0.5114 GB, free: 11.01 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.5097, allocations: 11.03 kB / 0.5114 GB, free: 11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-06/0.5098, allocations: 3.812 kB / 0.5114 GB, free: 11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.91e-05/0.5098, allocations: 318.4 kB / 0.5117 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.588e-05/0.5099, allocations: 23.2 kB / 0.5117 GB, free: 10.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.595e-05/0.51, allocations: 111.5 kB / 0.5118 GB, free: 10.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.431e-05/0.5101, allocations: 46.2 kB / 0.5119 GB, free: 10.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.5101, allocations: 0 / 0.5119 GB, free: 10.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002577/0.5104, allocations: 148.4 kB / 0.512 GB, free: 10.47 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.5104, allocations: 11.91 kB / 0.512 GB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.5104, allocations: 0 / 0.512 GB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.5104, allocations: 7.719 kB / 0.512 GB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.609e-05/0.5105, allocations: 3.875 kB / 0.5121 GB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.5105, allocations: 19.53 kB / 0.5121 GB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.899e-05/0.5106, allocations: 7.312 kB / 0.5121 GB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.5106, allocations: 7.688 kB / 0.5121 GB, free: 10.45 MB / 330.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.000129/0.5108, allocations: 140.9 kB / 0.5122 GB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.511, allocations: 123.8 kB / 0.5123 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.002e-05/0.5111, allocations: 19.98 kB / 0.5124 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.5111, allocations: 0 / 0.5124 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.5111, allocations: 3.969 kB / 0.5124 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.5111, allocations: 3.953 kB / 0.5124 GB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.5112, allocations: 182 kB / 0.5125 GB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5112, allocations: 0 / 0.5125 GB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.5113, allocations: 3.938 kB / 0.5125 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.5113, allocations: 3.781 kB / 0.5125 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.5113, allocations: 2.562 kB / 0.5125 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.5113, allocations: 9.328 kB / 0.5126 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5113, allocations: 0 / 0.5126 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.5116, allocations: 148.8 kB / 0.5127 GB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.5117, allocations: 99.78 kB / 0.5128 GB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.5117, allocations: 7.125 kB / 0.5128 GB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.56e-05/0.5117, allocations: 4.812 kB / 0.5128 GB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-06/0.5117, allocations: 0 / 0.5128 GB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.5118, allocations: 7.797 kB / 0.5128 GB, free: 9.855 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.135e-05/0.5118, allocations: 108.7 kB / 0.5129 GB, free: 9.773 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5119, allocations: 0 / 0.5129 GB, free: 9.773 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002944/0.5122, allocations: 14.94 kB / 0.5129 GB, free: 9.773 MB / 330.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 0.0001193/0.5123, allocations: 102.8 kB / 0.513 GB, free: 9.684 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.5125, allocations: 94.58 kB / 0.5131 GB, free: 9.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5125, allocations: 4.062 kB / 0.5131 GB, free: 9.656 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.91e-07/0.5125, allocations: 0 / 0.5131 GB, free: 9.656 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.513, allocations: 88.58 kB / 0.5132 GB, free: 9.633 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.5135, allocations: 263.9 kB / 0.5135 GB, free: 9.426 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.5137, allocations: 0.7183 MB / 0.5142 GB, free: 8.715 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.5137, allocations: 11.28 kB / 0.5142 GB, free: 8.711 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5137, allocations: 3.938 kB / 0.5142 GB, free: 8.707 MB / 330.7 MB Notification: Performance of Templates: time 0.003205/0.5169, allocations: 1.169 MB / 0.5153 GB, free: 8.121 MB / 330.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/jenkins1/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