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.00156/0.001559, allocations: 180 kB / 8.406 MB, free: 0.6719 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.142/2.142, allocations: 205.3 MB / 214.1 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 90.64 kB / 262.2 MB, free: 1.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.09848/0.09848, allocations: 12.61 MB / 322.7 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.535e-05, allocations: 7.938 kB / 378.9 MB, free: 6.883 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3379, allocations: 50.36 MB / 429.3 MB, free: 18.42 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.4704, allocations: 77.21 MB / 0.4946 GB, free: 5.109 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/0.4708, allocations: 79.95 kB / 0.4947 GB, free: 5.031 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006108/0.4769, allocations: 1.551 MB / 0.4962 GB, free: 3.477 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4769, allocations: 4 kB / 0.4962 GB, free: 3.473 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.477, allocations: 0 / 0.4962 GB, free: 3.473 MB / 346.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.0004178/0.4774, allocations: 362.3 kB / 0.4965 GB, free: 3.074 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.4775, allocations: 8.031 kB / 0.4966 GB, free: 3.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.304e-05/0.4775, allocations: 11.91 kB / 0.4966 GB, free: 3.055 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.4778, allocations: 198.8 kB / 0.4968 GB, free: 2.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.4778, allocations: 0 / 0.4968 GB, free: 2.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.4779, allocations: 8 kB / 0.4968 GB, free: 2.812 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001648/0.4781, allocations: 36 kB / 0.4968 GB, free: 2.777 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/0.4785, allocations: 198.3 kB / 0.497 GB, free: 2.574 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4786, allocations: 0 / 0.497 GB, free: 2.574 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.4786, allocations: 3.984 kB / 0.497 GB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.4786, allocations: 8 kB / 0.497 GB, free: 2.562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.4788, allocations: 150.2 kB / 0.4971 GB, free: 2.379 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.4791, allocations: 112.4 kB / 0.4973 GB, free: 2.262 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.4793, allocations: 72.92 kB / 0.4973 GB, free: 2.188 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.4793, allocations: 4 kB / 0.4973 GB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.4794, allocations: 38.56 kB / 0.4974 GB, free: 2.137 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.813e-06/0.4794, allocations: 0 / 0.4974 GB, free: 2.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003065/0.4797, allocations: 111 kB / 0.4975 GB, free: 2.023 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.686e-05/0.4798, allocations: 63.36 kB / 0.4975 GB, free: 1.949 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.48, allocations: 133 kB / 0.4977 GB, free: 1.809 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.48, allocations: 25.7 kB / 0.4977 GB, free: 1.777 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.403e-05/0.4801, allocations: 154.9 kB / 0.4978 GB, free: 1.621 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.4801, allocations: 8 kB / 0.4978 GB, free: 1.613 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.4801, allocations: 7.938 kB / 0.4978 GB, free: 1.605 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.4803, allocations: 314.8 kB / 0.4981 GB, free: 1.289 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.73e-05/0.4804, allocations: 20 kB / 0.4982 GB, free: 1.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.4805, allocations: 110.5 kB / 0.4983 GB, free: 1.113 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.096e-05/0.4806, allocations: 35.92 kB / 0.4983 GB, free: 1.078 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.4806, allocations: 0 / 0.4983 GB, free: 1.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000301/0.4809, allocations: 129.5 kB / 0.4984 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.481, allocations: 8.938 kB / 0.4984 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.481, allocations: 4 kB / 0.4984 GB, free: 0.9336 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.481, allocations: 4 kB / 0.4984 GB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.426e-05/0.4811, allocations: 11.94 kB / 0.4985 GB, free: 0.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.4811, allocations: 7.984 kB / 0.4985 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.478e-05/0.4812, allocations: 11.89 kB / 0.4985 GB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.4813, allocations: 12 kB / 0.4985 GB, free: 0.8867 MB / 346.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 () * 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.0001375/0.4814, allocations: 117.2 kB / 0.4986 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/0.4817, allocations: 107.2 kB / 0.4987 GB, free: 0.6562 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.209e-05/0.4817, allocations: 16.75 kB / 0.4987 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-06/0.4817, allocations: 0 / 0.4987 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4818, allocations: 0 / 0.4987 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4818, allocations: 0 / 0.4987 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.4819, allocations: 162.1 kB / 0.4989 GB, free: 460 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4819, allocations: 0 / 0.4989 GB, free: 460 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-05/0.482, allocations: 0 / 0.4989 GB, free: 460 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.482, allocations: 8 kB / 0.4989 GB, free: 452 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.482, allocations: 0 / 0.4989 GB, free: 452 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.482, allocations: 0 / 0.4989 GB, free: 452 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.482, allocations: 0 / 0.4989 GB, free: 452 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.4823, allocations: 148.7 kB / 0.499 GB, free: 284 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.544e-05/0.4824, allocations: 93 kB / 0.4991 GB, free: 172 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.4824, allocations: 4 kB / 0.4991 GB, free: 168 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.344e-05/0.4825, allocations: 0 / 0.4991 GB, free: 168 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-06/0.4825, allocations: 4 kB / 0.4991 GB, free: 164 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.4825, allocations: 4 kB / 0.4991 GB, free: 160 kB / 346.7 MB Notification: Performance of sorting global known variables: time 8.278e-05/0.4826, allocations: 103.2 kB / 0.4992 GB, free: 56 kB / 346.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4826, allocations: 0 / 0.4992 GB, free: 56 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003556/0.483, allocations: 12 kB / 0.4992 GB, free: 44 kB / 346.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 () * 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.0001873/0.4832, allocations: 114.9 kB / 0.4993 GB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.4834, allocations: 84.17 kB / 0.4994 GB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.4835, allocations: 0 / 0.4994 GB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.356e-06/0.4835, allocations: 7.938 kB / 0.4994 GB, free: 15.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.4839, allocations: 69.67 kB / 0.4995 GB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/0.4844, allocations: 186.1 kB / 0.4997 GB, free: 15.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.4848, allocations: 0.7129 MB / 0.5004 GB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/0.4848, allocations: 11.44 kB / 0.5004 GB, free: 14.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4848, allocations: 4 kB / 0.5004 GB, free: 14.8 MB / 362.7 MB Notification: Performance of Templates: time 0.003711/0.4886, allocations: 1.148 MB / 0.5015 GB, free: 13.66 MB / 362.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