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.001129/0.001129, allocations: 180.4 kB / 15.8 MB, free: 6.34 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.481/1.481, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0009921/0.0009921, allocations: 90.86 kB / 270.3 MB, free: 13.35 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.08986/0.08986, allocations: 12.59 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004267/0.0004267, allocations: 11.56 kB / 392 MB, free: 54.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.119, allocations: 50.37 MB / 442.4 MB, free: 10.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1179/0.2369, allocations: 78.29 MB / 0.5085 GB, free: 12.53 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.2373, allocations: 83.89 kB / 0.5085 GB, free: 12.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005494/0.2428, allocations: 1.674 MB / 0.5102 GB, free: 10.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.887e-06/0.2428, allocations: 0 / 0.5102 GB, free: 10.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.2429, allocations: 0 / 0.5102 GB, free: 10.77 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006067/0.2435, allocations: 386.8 kB / 0.5105 GB, free: 10.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.2436, allocations: 12.03 kB / 0.5106 GB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.2436, allocations: 7.906 kB / 0.5106 GB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.2439, allocations: 202.8 kB / 0.5108 GB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.2439, allocations: 7.953 kB / 0.5108 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.244, allocations: 4 kB / 0.5108 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.2443, allocations: 129.9 kB / 0.5109 GB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2443, allocations: 0 / 0.5109 GB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.2444, allocations: 3.984 kB / 0.5109 GB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2444, allocations: 0 / 0.5109 GB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.2445, allocations: 55.89 kB / 0.5109 GB, free: 9.863 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005524/0.2451, allocations: 389.8 kB / 0.5113 GB, free: 9.426 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.2452, allocations: 75.83 kB / 0.5114 GB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.2453, allocations: 8 kB / 0.5114 GB, free: 9.316 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.2453, allocations: 30.56 kB / 0.5114 GB, free: 9.277 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.2453, allocations: 0 / 0.5114 GB, free: 9.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003889/0.2457, allocations: 133.5 kB / 0.5116 GB, free: 9.141 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.2458, allocations: 106.8 kB / 0.5117 GB, free: 9.012 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.246, allocations: 145.5 kB / 0.5118 GB, free: 8.863 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.246, allocations: 29.7 kB / 0.5118 GB, free: 8.828 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.2461, allocations: 88.14 kB / 0.5119 GB, free: 8.738 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.2461, allocations: 11.89 kB / 0.5119 GB, free: 8.727 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.2461, allocations: 0 / 0.5119 GB, free: 8.727 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2462, allocations: 314.8 kB / 0.5122 GB, free: 8.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.942e-05/0.2463, allocations: 23.98 kB / 0.5122 GB, free: 8.387 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.988e-05/0.2464, allocations: 60.72 kB / 0.5123 GB, free: 8.316 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.829e-05/0.2465, allocations: 27.94 kB / 0.5123 GB, free: 8.289 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2465, allocations: 0 / 0.5123 GB, free: 8.289 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001928/0.2467, allocations: 101.4 kB / 0.5124 GB, free: 8.184 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2468, allocations: 8 kB / 0.5124 GB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2468, allocations: 0 / 0.5124 GB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2468, allocations: 0 / 0.5124 GB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.2469, allocations: 20.11 kB / 0.5124 GB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.2469, allocations: 0 / 0.5124 GB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.721e-05/0.247, allocations: 8 kB / 0.5125 GB, free: 8.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.247, allocations: 0 / 0.5125 GB, free: 8.148 MB / 362.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 0.0001095/0.2471, allocations: 129.6 kB / 0.5126 GB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.111e-05/0.2472, allocations: 53.53 kB / 0.5126 GB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/0.2473, allocations: 11.88 kB / 0.5126 GB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2473, allocations: 8.031 kB / 0.5127 GB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.2473, allocations: 0 / 0.5127 GB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2473, allocations: 0 / 0.5127 GB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.2475, allocations: 181.6 kB / 0.5128 GB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2475, allocations: 7.953 kB / 0.5128 GB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.311e-05/0.2476, allocations: 11.98 kB / 0.5128 GB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.2476, allocations: 4 kB / 0.5128 GB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.2476, allocations: 0 / 0.5128 GB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2476, allocations: 0 / 0.5128 GB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2476, allocations: 3.984 kB / 0.5129 GB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.248, allocations: 306.9 kB / 0.5131 GB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-05/0.248, allocations: 100.9 kB / 0.5132 GB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.2481, allocations: 0 / 0.5132 GB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.2482, allocations: 7.984 kB / 0.5132 GB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.2482, allocations: 4 kB / 0.5133 GB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.2483, allocations: 0 / 0.5133 GB, free: 7.219 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.717e-05/0.2483, allocations: 119.1 kB / 0.5134 GB, free: 7.102 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2484, allocations: 0 / 0.5134 GB, free: 7.102 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000237/0.2486, allocations: 8 kB / 0.5134 GB, free: 7.094 MB / 362.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 0.0001099/0.2487, allocations: 99.25 kB / 0.5135 GB, free: 6.984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.2489, allocations: 55.89 kB / 0.5135 GB, free: 6.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2489, allocations: 4 kB / 0.5135 GB, free: 6.926 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.597e-05/0.249, allocations: 28.17 kB / 0.5136 GB, free: 6.898 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.2493, allocations: 33.08 kB / 0.5136 GB, free: 6.871 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.2497, allocations: 227.5 kB / 0.5138 GB, free: 6.605 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.2501, allocations: 0.7043 MB / 0.5145 GB, free: 5.875 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.389e-05/0.2502, allocations: 12.3 kB / 0.5145 GB, free: 5.859 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.2502, allocations: 11.44 kB / 0.5145 GB, free: 5.848 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2502, allocations: 0 / 0.5145 GB, free: 5.848 MB / 362.7 MB Notification: Performance of Templates: time 0.002614/0.2528, allocations: 0.6038 MB / 0.5151 GB, free: 5.25 MB / 362.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/jenkins/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