Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 171.9 kB / 16.8 MB, free: 5.027 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.592/1.592, allocations: 205.4 MB / 223 MB, free: 8.941 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.0008639/0.0008641, allocations: 93.02 kB / 271.3 MB, free: 8.25 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.08471/0.08471, allocations: 12.58 MB / 332.2 MB, free: 11.26 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005558/0.0005559, allocations: 23.94 kB / 393.2 MB, free: 65.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1206, allocations: 50.38 MB / 443.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3863/0.507, allocations: 78.32 MB / 0.5097 GB, free: 13.36 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.5072, allocations: 79.8 kB / 0.5098 GB, free: 13.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004172/0.5114, allocations: 1.67 MB / 0.5114 GB, free: 12.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5114, allocations: 0 / 0.5114 GB, free: 12.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.5114, allocations: 4 kB / 0.5114 GB, free: 12.61 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003291/0.5118, allocations: 394.2 kB / 0.5118 GB, free: 12.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.5118, allocations: 11.69 kB / 0.5118 GB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.5119, allocations: 8.719 kB / 0.5118 GB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.512, allocations: 203 kB / 0.512 GB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.5121, allocations: 3.625 kB / 0.512 GB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.5121, allocations: 5.094 kB / 0.512 GB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.5123, allocations: 129.1 kB / 0.5121 GB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.5124, allocations: 192 / 0.5121 GB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.5124, allocations: 7.438 kB / 0.5121 GB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5124, allocations: 3.844 kB / 0.5121 GB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.5125, allocations: 54.39 kB / 0.5122 GB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.5129, allocations: 376 kB / 0.5126 GB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.513, allocations: 81.47 kB / 0.5126 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.451e-05/0.5131, allocations: 49.48 kB / 0.5127 GB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.5132, allocations: 7.656 kB / 0.5127 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.5132, allocations: 41.69 kB / 0.5127 GB, free: 11.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.5132, allocations: 3.906 kB / 0.5127 GB, free: 11.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003215/0.5135, allocations: 122.2 kB / 0.5128 GB, free: 11.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.5136, allocations: 110.1 kB / 0.5129 GB, free: 11.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.5137, allocations: 151.7 kB / 0.5131 GB, free: 11.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.5137, allocations: 25.7 kB / 0.5131 GB, free: 10.99 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.941e-05/0.5137, allocations: 97.47 kB / 0.5132 GB, free: 10.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.5137, allocations: 7.844 kB / 0.5132 GB, free: 10.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.5138, allocations: 3.938 kB / 0.5132 GB, free: 10.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.234e-05/0.5138, allocations: 326.4 kB / 0.5135 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.152e-05/0.5139, allocations: 18.83 kB / 0.5136 GB, free: 10.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.657e-05/0.514, allocations: 42.33 kB / 0.5136 GB, free: 10.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.5141, allocations: 72.66 kB / 0.5137 GB, free: 10.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5141, allocations: 3.938 kB / 0.5137 GB, free: 10.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001597/0.5143, allocations: 102.3 kB / 0.5138 GB, free: 10.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.5143, allocations: 3.875 kB / 0.5138 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5143, allocations: 3.969 kB / 0.5138 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.5143, allocations: 0 / 0.5138 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.798e-05/0.5144, allocations: 19.64 kB / 0.5138 GB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.5144, allocations: 0 / 0.5138 GB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.978e-05/0.5145, allocations: 15.7 kB / 0.5138 GB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.5145, allocations: 3.812 kB / 0.5138 GB, free: 10.41 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.95e-05/0.5146, allocations: 130 kB / 0.5139 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.492e-05/0.5146, allocations: 48.47 kB / 0.514 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.5147, allocations: 15.23 kB / 0.514 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5147, allocations: 7.906 kB / 0.514 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5147, allocations: 0 / 0.514 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.5147, allocations: 0 / 0.514 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.5149, allocations: 182.4 kB / 0.5142 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.5149, allocations: 0 / 0.5142 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.592e-05/0.515, allocations: 15.64 kB / 0.5142 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.515, allocations: 0 / 0.5142 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.515, allocations: 0 / 0.5142 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.515, allocations: 7.781 kB / 0.5142 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.515, allocations: 3.938 kB / 0.5142 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.5152, allocations: 275.9 kB / 0.5145 GB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.5153, allocations: 96.33 kB / 0.5146 GB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.5153, allocations: 7.844 kB / 0.5146 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.5154, allocations: 3.844 kB / 0.5146 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.5154, allocations: 3.844 kB / 0.5146 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.5155, allocations: 7.484 kB / 0.5146 GB, free: 9.676 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.825e-05/0.5155, allocations: 114 kB / 0.5147 GB, free: 9.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.092e-06/0.5155, allocations: 0 / 0.5147 GB, free: 9.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002453/0.5158, allocations: 15.44 kB / 0.5147 GB, free: 9.586 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 8.43e-05/0.5159, allocations: 98.94 kB / 0.5148 GB, free: 9.496 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.5161, allocations: 53.94 kB / 0.5148 GB, free: 9.484 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5161, allocations: 0 / 0.5148 GB, free: 9.484 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.386e-05/0.5161, allocations: 31 kB / 0.5149 GB, free: 9.473 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.5165, allocations: 31.38 kB / 0.5149 GB, free: 9.457 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.5169, allocations: 232.1 kB / 0.5151 GB, free: 9.254 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.5171, allocations: 0.696 MB / 0.5158 GB, free: 8.547 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.393e-05/0.5172, allocations: 7.906 kB / 0.5158 GB, free: 8.543 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.5172, allocations: 15.27 kB / 0.5158 GB, free: 8.531 MB / 330.7 MB Notification: Performance of SimCode: time 3.7e-07/0.5172, allocations: 0 / 0.5158 GB, free: 8.531 MB / 330.7 MB Notification: Performance of Templates: time 0.002764/0.52, allocations: 0.614 MB / 0.5164 GB, free: 8.227 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches