Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_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_cpp_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.002295/0.002295, allocations: 180.8 kB / 8.41 MB, free: 0.668 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.3 MB / 214.1 MB, free: 1.723 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 86.7 kB / 262.1 MB, free: 1.68 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.1027/0.1027, allocations: 12.6 MB / 322.7 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.03e-05/2.03e-05, allocations: 4 kB / 378.9 MB, free: 6.883 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3082, allocations: 50.36 MB / 429.3 MB, free: 18.42 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.4461, allocations: 77.54 MB / 0.4949 GB, free: 4.773 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/0.4465, allocations: 79.95 kB / 0.495 GB, free: 4.695 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007428/0.454, allocations: 1.661 MB / 0.4966 GB, free: 3.031 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.454, allocations: 0 / 0.4966 GB, free: 3.031 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.454, allocations: 4 kB / 0.4966 GB, free: 3.027 MB / 346.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.0005225/0.4546, allocations: 370.2 kB / 0.497 GB, free: 2.621 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.4546, allocations: 12.03 kB / 0.497 GB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.4547, allocations: 7.906 kB / 0.497 GB, free: 2.602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.455, allocations: 201.3 kB / 0.4972 GB, free: 2.367 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.455, allocations: 7.953 kB / 0.4972 GB, free: 2.359 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.455, allocations: 0 / 0.4972 GB, free: 2.359 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001449/0.4552, allocations: 31.98 kB / 0.4972 GB, free: 2.328 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.4555, allocations: 109.8 kB / 0.4973 GB, free: 2.199 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4555, allocations: 4 kB / 0.4974 GB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.4555, allocations: 0 / 0.4974 GB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.4555, allocations: 4 kB / 0.4974 GB, free: 2.191 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000604/0.4561, allocations: 366.3 kB / 0.4977 GB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.4563, allocations: 59.73 kB / 0.4978 GB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.546e-05/0.4564, allocations: 30.69 kB / 0.4978 GB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.4564, allocations: 0 / 0.4978 GB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.4564, allocations: 42.5 kB / 0.4978 GB, free: 1.613 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.4564, allocations: 0 / 0.4978 GB, free: 1.613 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002734/0.4567, allocations: 61.59 kB / 0.4979 GB, free: 1.547 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/0.4568, allocations: 114.7 kB / 0.498 GB, free: 1.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.457, allocations: 129.4 kB / 0.4981 GB, free: 1.273 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.457, allocations: 25.7 kB / 0.4981 GB, free: 1.242 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.774e-05/0.4571, allocations: 162.7 kB / 0.4983 GB, free: 1.082 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.4572, allocations: 7.906 kB / 0.4983 GB, free: 1.074 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.4572, allocations: 0 / 0.4983 GB, free: 1.074 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4573, allocations: 314.8 kB / 0.4986 GB, free: 0.7578 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.664e-05/0.4574, allocations: 8 kB / 0.4986 GB, free: 0.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.014e-05/0.4574, allocations: 31.44 kB / 0.4986 GB, free: 0.707 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.498e-05/0.4575, allocations: 19.98 kB / 0.4987 GB, free: 0.6875 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4575, allocations: 3.938 kB / 0.4987 GB, free: 0.6836 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001505/0.4577, allocations: 61.58 kB / 0.4987 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4577, allocations: 4 kB / 0.4987 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.4577, allocations: 0 / 0.4987 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.4578, allocations: 4 kB / 0.4987 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.4579, allocations: 19.92 kB / 0.4988 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.458, allocations: 12.06 kB / 0.4988 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.4581, allocations: 7.984 kB / 0.4988 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.4581, allocations: 4 kB / 0.4988 GB, free: 0.5664 MB / 346.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 () * 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 9.03e-05/0.4582, allocations: 101 kB / 0.4989 GB, free: 472 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.4583, allocations: 49.64 kB / 0.4989 GB, free: 416 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.146e-05/0.4584, allocations: 15.95 kB / 0.4989 GB, free: 400 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.4584, allocations: 4 kB / 0.4989 GB, free: 396 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.4584, allocations: 0 / 0.4989 GB, free: 396 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4584, allocations: 4.031 kB / 0.4989 GB, free: 392 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.4587, allocations: 158.2 kB / 0.4991 GB, free: 196 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4588, allocations: 0 / 0.4991 GB, free: 196 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.4589, allocations: 19.92 kB / 0.4991 GB, free: 176 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4589, allocations: 0 / 0.4991 GB, free: 176 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.4589, allocations: 7.953 kB / 0.4991 GB, free: 168 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.459, allocations: 0 / 0.4991 GB, free: 168 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.459, allocations: 0 / 0.4991 GB, free: 168 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.4593, allocations: 274.9 kB / 0.4994 GB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.954e-05/0.4594, allocations: 100.9 kB / 0.4995 GB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.4594, allocations: 3.984 kB / 0.4995 GB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.4596, allocations: 8 kB / 0.4995 GB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.4597, allocations: 8 kB / 0.4995 GB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.4597, allocations: 3.984 kB / 0.4995 GB, free: 15.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001135/0.4598, allocations: 120.9 kB / 0.4996 GB, free: 15.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4598, allocations: 0 / 0.4996 GB, free: 15.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003783/0.4602, allocations: 8 kB / 0.4996 GB, free: 15.6 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 () * 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.0001222/0.4603, allocations: 99.03 kB / 0.4997 GB, free: 15.49 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.4605, allocations: 23.98 kB / 0.4997 GB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4605, allocations: 256 / 0.4997 GB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.743e-05/0.4606, allocations: 19.94 kB / 0.4998 GB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.461, allocations: 35.27 kB / 0.4998 GB, free: 15.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/0.4615, allocations: 152.1 kB / 0.4999 GB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.4618, allocations: 0.7079 MB / 0.5006 GB, free: 14.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.445e-05/0.4619, allocations: 11.44 kB / 0.5006 GB, free: 14.48 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.4619, allocations: 4.219 kB / 0.5007 GB, free: 14.48 MB / 362.7 MB Notification: Performance of Templates: time 0.003239/0.4652, allocations: 0.9116 MB / 0.5015 GB, free: 13.58 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches