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.001316/0.001316, allocations: 177.6 kB / 8.045 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.3 MB / 213.8 MB, free: 1.742 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.0007748/0.0007749, allocations: 88.03 kB / 261.8 MB, free: 1.688 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.07065/0.07065, allocations: 12.59 MB / 322.3 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.728e-05/1.731e-05, allocations: 8 kB / 378.9 MB, free: 6.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2224, allocations: 50.37 MB / 429.3 MB, free: 18.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09532/0.3177, allocations: 77.53 MB / 0.495 GB, free: 4.711 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.318, allocations: 75.97 kB / 0.495 GB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00448/0.3225, allocations: 1.661 MB / 0.4967 GB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3225, allocations: 4 kB / 0.4967 GB, free: 2.969 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.3225, allocations: 0 / 0.4967 GB, free: 2.969 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.0003308/0.3229, allocations: 370.2 kB / 0.497 GB, free: 2.562 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.3229, allocations: 20.02 kB / 0.497 GB, free: 2.543 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.3229, allocations: 11.84 kB / 0.497 GB, free: 2.531 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.3231, allocations: 189.3 kB / 0.4972 GB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.3231, allocations: 7.953 kB / 0.4972 GB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.3232, allocations: 0 / 0.4972 GB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.267e-05/0.3233, allocations: 31.98 kB / 0.4973 GB, free: 2.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.3235, allocations: 113.8 kB / 0.4974 GB, free: 2.137 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.3235, allocations: 0 / 0.4974 GB, free: 2.137 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3235, allocations: 4 kB / 0.4974 GB, free: 2.133 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3235, allocations: 0 / 0.4974 GB, free: 2.133 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.3239, allocations: 362.3 kB / 0.4977 GB, free: 1.734 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.826e-05/0.324, allocations: 59.73 kB / 0.4978 GB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.159e-05/0.324, allocations: 34.67 kB / 0.4978 GB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.3241, allocations: 4 kB / 0.4978 GB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.3241, allocations: 38.56 kB / 0.4979 GB, free: 1.555 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.535e-06/0.3241, allocations: 0 / 0.4979 GB, free: 1.555 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001936/0.3243, allocations: 73.52 kB / 0.4979 GB, free: 1.477 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.3243, allocations: 106.8 kB / 0.498 GB, free: 1.348 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.813e-05/0.3245, allocations: 125.4 kB / 0.4981 GB, free: 1.215 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.3245, allocations: 29.8 kB / 0.4982 GB, free: 1.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.3245, allocations: 96.12 kB / 0.4983 GB, free: 1.082 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.3245, allocations: 3.906 kB / 0.4983 GB, free: 1.078 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.3245, allocations: 0 / 0.4983 GB, free: 1.078 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.509e-05/0.3246, allocations: 322.8 kB / 0.4986 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.3247, allocations: 8 kB / 0.4986 GB, free: 0.7461 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.027e-05/0.3247, allocations: 35.42 kB / 0.4986 GB, free: 0.6992 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.612e-05/0.3247, allocations: 12 kB / 0.4986 GB, free: 0.6875 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3247, allocations: 0 / 0.4986 GB, free: 0.6875 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.771e-05/0.3248, allocations: 73.42 kB / 0.4987 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3249, allocations: 4 kB / 0.4987 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3249, allocations: 7.984 kB / 0.4987 GB, free: 0.5977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.3249, allocations: 0 / 0.4987 GB, free: 0.5977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.696e-05/0.325, allocations: 24.06 kB / 0.4987 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.325, allocations: 0 / 0.4987 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.727e-05/0.3251, allocations: 7.984 kB / 0.4987 GB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.3251, allocations: 4 kB / 0.4987 GB, free: 0.5625 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 5.256e-05/0.3252, allocations: 101 kB / 0.4988 GB, free: 468 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.083e-05/0.3253, allocations: 53.55 kB / 0.4989 GB, free: 408 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.3253, allocations: 15.91 kB / 0.4989 GB, free: 392 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3253, allocations: 8.031 kB / 0.4989 GB, free: 384 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3253, allocations: 3.984 kB / 0.4989 GB, free: 380 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3253, allocations: 0 / 0.4989 GB, free: 380 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.3255, allocations: 150.2 kB / 0.4991 GB, free: 192 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3255, allocations: 4 kB / 0.4991 GB, free: 188 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.252e-05/0.3256, allocations: 15.92 kB / 0.4991 GB, free: 172 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.3256, allocations: 4 kB / 0.4991 GB, free: 168 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.3256, allocations: 3.953 kB / 0.4991 GB, free: 164 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3256, allocations: 3.984 kB / 0.4991 GB, free: 160 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3256, allocations: 4 kB / 0.4991 GB, free: 156 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.3258, allocations: 267 kB / 0.4994 GB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.3259, allocations: 100.9 kB / 0.4995 GB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.3259, allocations: 0 / 0.4995 GB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.326, allocations: 8 kB / 0.4995 GB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.326, allocations: 7.984 kB / 0.4995 GB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.3261, allocations: 0 / 0.4995 GB, free: 15.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.17e-05/0.3261, allocations: 119.8 kB / 0.4996 GB, free: 15.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.312e-06/0.3261, allocations: 0 / 0.4996 GB, free: 15.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002386/0.3264, allocations: 11.94 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 8.039e-05/0.3265, allocations: 92.44 kB / 0.4997 GB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.838e-05/0.3266, allocations: 31.98 kB / 0.4997 GB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.3266, allocations: 0 / 0.4997 GB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.453e-05/0.3266, allocations: 15.94 kB / 0.4997 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.0002597/0.3269, allocations: 27.34 kB / 0.4998 GB, free: 15.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.3271, allocations: 126.3 kB / 0.4999 GB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.3274, allocations: 0.7162 MB / 0.5006 GB, free: 14.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.564e-05/0.3274, allocations: 4.188 kB / 0.5006 GB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.3275, allocations: 15.42 kB / 0.5006 GB, free: 14.51 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3275, allocations: 0 / 0.5006 GB, free: 14.51 MB / 362.7 MB Notification: Performance of Templates: time 0.002289/0.3298, allocations: 0.5786 MB / 0.5012 GB, free: 13.93 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