Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y.1.|assignClock1.y.2.|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y.1.|assignClock1.y.2.|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001607/0.001607, allocations: 186.8 kB / 13.7 MB, free: 1.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.035/2.035, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001824/0.001824, allocations: 94.64 kB / 267.6 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1058/0.1058, allocations: 12.59 MB / 328.2 MB, free: 11.17 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.508e-05/3.547e-05, allocations: 4 kB / 386 MB, free: 1.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2971, allocations: 50.37 MB / 436.3 MB, free: 14.17 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.433, allocations: 77.79 MB / 0.5021 GB, free: 276 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.4333, allocations: 71.97 kB / 0.5022 GB, free: 204 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006351/0.4397, allocations: 1.61 MB / 0.5037 GB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4398, allocations: 0 / 0.5037 GB, free: 14.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.4398, allocations: 4 kB / 0.5037 GB, free: 14.58 MB / 362.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.000457/0.4403, allocations: 366.3 kB / 0.5041 GB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.4403, allocations: 8.031 kB / 0.5041 GB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.739e-05/0.4404, allocations: 15.81 kB / 0.5041 GB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.4407, allocations: 211.2 kB / 0.5043 GB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.4407, allocations: 12 kB / 0.5043 GB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.4407, allocations: 8 kB / 0.5043 GB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005407/0.4413, allocations: 210.9 kB / 0.5045 GB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.4413, allocations: 0 / 0.5045 GB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.4413, allocations: 4 kB / 0.5045 GB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.4414, allocations: 7.938 kB / 0.5045 GB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.4415, allocations: 32 kB / 0.5046 GB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.4417, allocations: 189.6 kB / 0.5048 GB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.4421, allocations: 126.8 kB / 0.5049 GB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.4423, allocations: 69.03 kB / 0.5049 GB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.4423, allocations: 8 kB / 0.5049 GB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.4423, allocations: 30.56 kB / 0.505 GB, free: 13.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 2.364e-06/0.4424, allocations: 0 / 0.505 GB, free: 13.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.00035/0.4427, allocations: 134.4 kB / 0.5051 GB, free: 13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.4428, allocations: 59.41 kB / 0.5052 GB, free: 12.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.443, allocations: 131.3 kB / 0.5053 GB, free: 12.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.443, allocations: 25.7 kB / 0.5053 GB, free: 12.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.4431, allocations: 158.9 kB / 0.5055 GB, free: 12.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.4431, allocations: 15.89 kB / 0.5055 GB, free: 12.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.4432, allocations: 0 / 0.5055 GB, free: 12.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.4433, allocations: 322.8 kB / 0.5058 GB, free: 12.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.635e-05/0.4434, allocations: 16 kB / 0.5058 GB, free: 12.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.4435, allocations: 121.7 kB / 0.5059 GB, free: 12.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.4436, allocations: 39.92 kB / 0.506 GB, free: 12.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4436, allocations: 0 / 0.506 GB, free: 12.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003477/0.444, allocations: 153.2 kB / 0.5061 GB, free: 11.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.444, allocations: 8 kB / 0.5061 GB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.4441, allocations: 4 kB / 0.5061 GB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.4441, allocations: 4.5 kB / 0.5061 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.4443, allocations: 35.94 kB / 0.5061 GB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.4443, allocations: 11.94 kB / 0.5062 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.58e-05/0.4444, allocations: 7.938 kB / 0.5062 GB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.4445, allocations: 12 kB / 0.5062 GB, free: 11.8 MB / 362.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: 0 () * 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.0001049/0.4446, allocations: 116.9 kB / 0.5063 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/0.4448, allocations: 114.9 kB / 0.5064 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.4e-05/0.4449, allocations: 16.75 kB / 0.5064 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4449, allocations: 0 / 0.5064 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.445, allocations: 3.953 kB / 0.5064 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.445, allocations: 7.984 kB / 0.5064 GB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.4451, allocations: 193.6 kB / 0.5066 GB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4452, allocations: 0 / 0.5066 GB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.4454, allocations: 27.92 kB / 0.5066 GB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.4454, allocations: 0 / 0.5066 GB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.4454, allocations: 0 / 0.5066 GB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.4454, allocations: 7.938 kB / 0.5066 GB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4455, allocations: 0 / 0.5066 GB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.4458, allocations: 157 kB / 0.5068 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.4459, allocations: 104.9 kB / 0.5069 GB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.4459, allocations: 0 / 0.5069 GB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.628e-05/0.446, allocations: 4 kB / 0.5069 GB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-06/0.446, allocations: 0 / 0.5069 GB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.446, allocations: 7.984 kB / 0.5069 GB, free: 10.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001079/0.4461, allocations: 108.6 kB / 0.507 GB, free: 10.85 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.4461, allocations: 0 / 0.507 GB, free: 10.85 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003295/0.4465, allocations: 16 kB / 0.507 GB, free: 10.83 MB / 362.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: 0 () * 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.0001393/0.4466, allocations: 107.1 kB / 0.5071 GB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.4469, allocations: 87.8 kB / 0.5072 GB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.4469, allocations: 4 kB / 0.5072 GB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.4469, allocations: 3.938 kB / 0.5072 GB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.4474, allocations: 68.45 kB / 0.5073 GB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000506/0.4479, allocations: 188.5 kB / 0.5075 GB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.4483, allocations: 0.732 MB / 0.5082 GB, free: 9.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.858e-05/0.4483, allocations: 11.44 kB / 0.5082 GB, free: 9.578 MB / 362.7 MB Notification: Performance of SimCode: time 1.383e-06/0.4483, allocations: 0 / 0.5082 GB, free: 9.578 MB / 362.7 MB Notification: Performance of Templates: time 0.003796/0.4521, allocations: 1.173 MB / 0.5093 GB, free: 8.406 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches