Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum1.y|sum2.y|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum1.y|sum2.y|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002187/0.002186, allocations: 186.4 kB / 16.44 MB, free: 5.691 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.934/1.934, allocations: 205.4 MB / 222.6 MB, free: 9.121 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.001123/0.001123, allocations: 88.36 kB / 270.9 MB, free: 8.375 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.09986/0.09986, allocations: 12.59 MB / 331.8 MB, free: 11.4 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005622/0.0005622, allocations: 12 kB / 392 MB, free: 66.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09333/0.09393, allocations: 50.36 MB / 442.3 MB, free: 16.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4221/0.5161, allocations: 77.97 MB / 0.5081 GB, free: 12.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.5164, allocations: 82.91 kB / 0.5082 GB, free: 12.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006464/0.5229, allocations: 1.677 MB / 0.5098 GB, free: 12.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.523, allocations: 3.844 kB / 0.5098 GB, free: 12.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.523, allocations: 0 / 0.5098 GB, free: 12.33 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.0004302/0.5234, allocations: 402.5 kB / 0.5102 GB, free: 11.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.5235, allocations: 11.16 kB / 0.5102 GB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.5235, allocations: 17.84 kB / 0.5103 GB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.5238, allocations: 201.3 kB / 0.5104 GB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.5238, allocations: 6.25 kB / 0.5105 GB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.5238, allocations: 14.12 kB / 0.5105 GB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005369/0.5244, allocations: 236.7 kB / 0.5107 GB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.5244, allocations: 0 / 0.5107 GB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.5244, allocations: 3.562 kB / 0.5107 GB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.5244, allocations: 0 / 0.5107 GB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.5246, allocations: 54.61 kB / 0.5107 GB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.5248, allocations: 199.3 kB / 0.5109 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.5251, allocations: 137.4 kB / 0.5111 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.5251, allocations: 3.844 kB / 0.5111 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.5252, allocations: 38.44 kB / 0.5111 GB, free: 11.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 2.214e-06/0.5252, allocations: 3.938 kB / 0.5111 GB, free: 11.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004072/0.5256, allocations: 171.5 kB / 0.5113 GB, free: 11.22 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.5257, allocations: 62.88 kB / 0.5113 GB, free: 11.15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.5258, allocations: 152.6 kB / 0.5115 GB, free: 11.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.5259, allocations: 33.27 kB / 0.5115 GB, free: 11.01 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.5259, allocations: 158.6 kB / 0.5117 GB, free: 10.85 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.5259, allocations: 11.38 kB / 0.5117 GB, free: 10.85 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.526, allocations: 7.938 kB / 0.5117 GB, free: 10.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.533e-05/0.526, allocations: 318.5 kB / 0.512 GB, free: 10.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.331e-05/0.5261, allocations: 18.77 kB / 0.512 GB, free: 10.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.5262, allocations: 124.5 kB / 0.5121 GB, free: 10.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.216e-05/0.5263, allocations: 45.08 kB / 0.5122 GB, free: 10.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.5263, allocations: 0 / 0.5122 GB, free: 10.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002724/0.5266, allocations: 149.6 kB / 0.5123 GB, free: 10.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.5267, allocations: 11.62 kB / 0.5123 GB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.5267, allocations: 7.828 kB / 0.5123 GB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.5267, allocations: 3.844 kB / 0.5123 GB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.5269, allocations: 38.55 kB / 0.5124 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.5269, allocations: 7.828 kB / 0.5124 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.172e-05/0.527, allocations: 11.59 kB / 0.5124 GB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.527, allocations: 14.44 kB / 0.5124 GB, free: 10.28 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 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,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.0001506/0.5272, allocations: 147.9 kB / 0.5125 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.5275, allocations: 139.7 kB / 0.5127 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.772e-05/0.5275, allocations: 19.38 kB / 0.5127 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.5275, allocations: 0 / 0.5127 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5276, allocations: 7.797 kB / 0.5127 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.5276, allocations: 0.875 kB / 0.5127 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.5277, allocations: 191.1 kB / 0.5129 GB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5277, allocations: 0 / 0.5129 GB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.5279, allocations: 26.88 kB / 0.5129 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.5279, allocations: 3.984 kB / 0.5129 GB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.528, allocations: 3.875 kB / 0.5129 GB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.528, allocations: 4 kB / 0.5129 GB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.528, allocations: 0 / 0.5129 GB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.5283, allocations: 165.6 kB / 0.5131 GB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.449e-05/0.5284, allocations: 107.3 kB / 0.5132 GB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.5284, allocations: 3.938 kB / 0.5132 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.381e-05/0.5285, allocations: 11.23 kB / 0.5132 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-06/0.5285, allocations: 0 / 0.5132 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.5285, allocations: 3.812 kB / 0.5132 GB, free: 9.656 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.654e-05/0.5286, allocations: 119.3 kB / 0.5133 GB, free: 9.574 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5286, allocations: 0 / 0.5133 GB, free: 9.574 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003106/0.5289, allocations: 15.03 kB / 0.5133 GB, free: 9.574 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,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.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.0001314/0.5291, allocations: 112.8 kB / 0.5134 GB, free: 9.477 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002516/0.5293, allocations: 103.5 kB / 0.5135 GB, free: 9.445 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.5293, allocations: 0 / 0.5135 GB, free: 9.445 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.5294, allocations: 3.844 kB / 0.5135 GB, free: 9.445 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.5298, allocations: 91.8 kB / 0.5136 GB, free: 9.422 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005166/0.5304, allocations: 298.8 kB / 0.5139 GB, free: 9.199 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.5306, allocations: 0.7191 MB / 0.5146 GB, free: 8.484 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.5306, allocations: 15.12 kB / 0.5146 GB, free: 8.477 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5306, allocations: 0 / 0.5146 GB, free: 8.477 MB / 330.7 MB Notification: Performance of Templates: time 0.00364/0.5343, allocations: 1.329 MB / 0.5159 GB, free: 7.816 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches