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/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/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.002224/0.002224, allocations: 181.2 kB / 17.46 MB, free: 4.363 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.628/2.628, allocations: 205.4 MB / 223.6 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.001279/0.001279, allocations: 90.83 kB / 272 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1541/0.1541, allocations: 12.2 MB / 332.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007064/0.0007066, allocations: 16 kB / 392.7 MB, free: 67.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1828, allocations: 50.29 MB / 443 MB, free: 16.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6297/0.8126, allocations: 77.96 MB / 0.5088 GB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005809/0.8134, allocations: 72.95 kB / 0.5088 GB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01055/0.824, allocations: 2.262 MB / 0.511 GB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.8241, allocations: 4 kB / 0.5111 GB, free: 12.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.8241, allocations: 3.688 kB / 0.5111 GB, free: 12.38 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.0006308/0.8247, allocations: 395.7 kB / 0.5114 GB, free: 11.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.932e-05/0.8248, allocations: 7.938 kB / 0.5114 GB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.411e-05/0.8249, allocations: 16.47 kB / 0.5115 GB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.8252, allocations: 207.2 kB / 0.5117 GB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.8252, allocations: 7.844 kB / 0.5117 GB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.8253, allocations: 11.19 kB / 0.5117 GB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006048/0.8259, allocations: 243.8 kB / 0.5119 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.8259, allocations: 0 / 0.5119 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.826, allocations: 3.812 kB / 0.5119 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.826, allocations: 3.875 kB / 0.5119 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.8261, allocations: 45.41 kB / 0.512 GB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/0.8264, allocations: 199.3 kB / 0.5121 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.8268, allocations: 150.9 kB / 0.5123 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.827, allocations: 77.8 kB / 0.5124 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.827, allocations: 3.875 kB / 0.5124 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.8271, allocations: 42.36 kB / 0.5124 GB, free: 11.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.933e-06/0.8271, allocations: 0 / 0.5124 GB, free: 11.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004841/0.8276, allocations: 171.7 kB / 0.5126 GB, free: 11.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.8276, allocations: 58.75 kB / 0.5126 GB, free: 11.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.8279, allocations: 171.2 kB / 0.5128 GB, free: 11.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.8279, allocations: 29.45 kB / 0.5128 GB, free: 11.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.191e-05/0.828, allocations: 98.88 kB / 0.5129 GB, free: 10.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.828, allocations: 7.469 kB / 0.5129 GB, free: 10.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/0.8281, allocations: 7.812 kB / 0.5129 GB, free: 10.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.8282, allocations: 325.8 kB / 0.5132 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.274e-05/0.8283, allocations: 19.36 kB / 0.5133 GB, free: 10.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.8285, allocations: 128.5 kB / 0.5134 GB, free: 10.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.8287, allocations: 151.6 kB / 0.5135 GB, free: 10.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.8287, allocations: 0 / 0.5135 GB, free: 10.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003281/0.8291, allocations: 158.6 kB / 0.5137 GB, free: 10.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/0.8291, allocations: 7.953 kB / 0.5137 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.8292, allocations: 7.781 kB / 0.5137 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.19e-05/0.8292, allocations: 3.875 kB / 0.5137 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.8294, allocations: 34.95 kB / 0.5137 GB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.248e-05/0.8295, allocations: 7.781 kB / 0.5137 GB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.8296, allocations: 18.97 kB / 0.5138 GB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.8296, allocations: 11.62 kB / 0.5138 GB, free: 10.21 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.0002471/0.8299, allocations: 152.1 kB / 0.5139 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002793/0.8302, allocations: 130.6 kB / 0.514 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.099e-05/0.8303, allocations: 23.17 kB / 0.5141 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.8303, allocations: 0 / 0.5141 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.8303, allocations: 0 / 0.5141 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.8303, allocations: 3.875 kB / 0.5141 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.8305, allocations: 198.5 kB / 0.5142 GB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.8305, allocations: 3.812 kB / 0.5143 GB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.8307, allocations: 27.27 kB / 0.5143 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.8307, allocations: 0 / 0.5143 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.8308, allocations: 15.31 kB / 0.5143 GB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.8308, allocations: 0 / 0.5143 GB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8308, allocations: 0 / 0.5143 GB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.8311, allocations: 166.2 kB / 0.5144 GB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.8313, allocations: 95.88 kB / 0.5145 GB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.8313, allocations: 7.828 kB / 0.5145 GB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.582e-05/0.8314, allocations: 3.5 kB / 0.5146 GB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-06/0.8314, allocations: 0 / 0.5146 GB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.8314, allocations: 7.969 kB / 0.5146 GB, free: 9.594 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001328/0.8316, allocations: 119.8 kB / 0.5147 GB, free: 9.512 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.645e-06/0.8316, allocations: 0 / 0.5147 GB, free: 9.512 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004346/0.832, allocations: 22.94 kB / 0.5147 GB, free: 9.504 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.0001775/0.8322, allocations: 110 kB / 0.5148 GB, free: 9.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002834/0.8325, allocations: 99.89 kB / 0.5149 GB, free: 9.383 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.8325, allocations: 0 / 0.5149 GB, free: 9.383 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.8325, allocations: 0 / 0.5149 GB, free: 9.383 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000579/0.8331, allocations: 90.91 kB / 0.515 GB, free: 9.363 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/0.8337, allocations: 307.7 kB / 0.5153 GB, free: 9.133 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.834, allocations: 0.7193 MB / 0.516 GB, free: 8.422 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/0.834, allocations: 15.25 kB / 0.516 GB, free: 8.414 MB / 330.7 MB Notification: Performance of SimCode: time 2.61e-07/0.8341, allocations: 0 / 0.516 GB, free: 8.414 MB / 330.7 MB Notification: Performance of Templates: time 0.005085/0.8392, allocations: 1.351 MB / 0.5173 GB, free: 7.734 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