Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 107.8 kB / 17.06 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 191 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 43.92 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3308, allocations: 49.42 MB / 400.7 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003029/0.3339, allocations: 1.622 MB / 402.3 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008847/0.3348, allocations: 486.7 kB / 402.8 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.135e-05/0.3349, allocations: 0 / 402.8 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.335, allocations: 11.86 kB / 402.8 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.3351, allocations: 15.86 kB / 402.8 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.3354, allocations: 47.88 kB / 402.9 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.3355, allocations: 63.72 kB / 403 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.3357, allocations: 16 kB / 403 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.848e-05/0.3357, allocations: 27.91 kB / 403 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.745e-05/0.3358, allocations: 35.78 kB / 403 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.3359, allocations: 4 kB / 403 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.494e-05/0.3359, allocations: 4 kB / 403 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.412e-05/0.3359, allocations: 15.94 kB / 403.1 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.643e-05/0.336, allocations: 31.8 kB / 403.1 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.3362, allocations: 71.45 kB / 403.2 MB, free: 6.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3362, allocations: 4 kB / 403.2 MB, free: 6.445 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3362, allocations: 0 / 403.2 MB, free: 6.445 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3362, allocations: 0 / 403.2 MB, free: 6.445 MB / 318.1 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.0005429/0.3367, allocations: 398.9 kB / 403.5 MB, free: 6.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3368, allocations: 8.031 kB / 403.6 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.3368, allocations: 8.891 kB / 403.6 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.3371, allocations: 211.8 kB / 403.8 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.3371, allocations: 4.375 kB / 403.8 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.3371, allocations: 4.375 kB / 403.8 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.3374, allocations: 126.2 kB / 403.9 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3374, allocations: 7.938 kB / 403.9 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.3374, allocations: 0 / 403.9 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/0.3375, allocations: 11.92 kB / 403.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.3376, allocations: 39.97 kB / 404 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.3381, allocations: 381.8 kB / 404.3 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.3382, allocations: 87.77 kB / 404.4 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.191e-05/0.3383, allocations: 34.62 kB / 404.5 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.3383, allocations: 8 kB / 404.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.3383, allocations: 30.56 kB / 404.5 MB, free: 4.906 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3384, allocations: 0 / 404.5 MB, free: 4.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003465/0.3387, allocations: 117.5 kB / 404.6 MB, free: 4.785 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/0.3388, allocations: 111.2 kB / 404.7 MB, free: 4.652 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.3389, allocations: 150.2 kB / 404.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.3389, allocations: 25.7 kB / 404.9 MB, free: 4.465 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.339, allocations: 96.09 kB / 405 MB, free: 4.367 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.339, allocations: 3.953 kB / 405 MB, free: 4.363 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.339, allocations: 21.7 kB / 405 MB, free: 4.336 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3392, allocations: 322.8 kB / 405.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.552e-05/0.3392, allocations: 23.92 kB / 405.3 MB, free: 3.988 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.025e-05/0.3393, allocations: 43.41 kB / 405.4 MB, free: 3.934 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.3394, allocations: 71.34 kB / 405.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3395, allocations: 4 kB / 405.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000177/0.3396, allocations: 89.48 kB / 405.5 MB, free: 3.754 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.3397, allocations: 4 kB / 405.5 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3397, allocations: 4 kB / 405.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3397, allocations: 0 / 405.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.673e-05/0.3398, allocations: 11.98 kB / 405.6 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3398, allocations: 4.125 kB / 405.6 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.108e-05/0.3399, allocations: 4 kB / 405.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.3399, allocations: 4 kB / 405.6 MB, free: 3.723 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.386e-05/0.34, allocations: 129.7 kB / 405.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/0.3401, allocations: 53.58 kB / 405.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.3401, allocations: 11.88 kB / 405.8 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.3401, allocations: 4 kB / 405.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3401, allocations: 0 / 405.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3401, allocations: 8.031 kB / 405.8 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.3403, allocations: 181.5 kB / 406 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.3404, allocations: 0 / 406 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.725e-05/0.3404, allocations: 11.98 kB / 406 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3404, allocations: 0 / 406 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.3404, allocations: 0 / 406 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3404, allocations: 4 kB / 406 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3404, allocations: 0 / 406 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.3407, allocations: 283.4 kB / 406.2 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-05/0.3408, allocations: 96.98 kB / 406.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.3408, allocations: 0 / 406.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.3409, allocations: 7.984 kB / 406.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.341, allocations: 7.984 kB / 406.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.341, allocations: 4 kB / 406.4 MB, free: 2.828 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.451e-05/0.3411, allocations: 122.1 kB / 406.5 MB, free: 2.711 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3411, allocations: 0 / 406.5 MB, free: 2.711 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.3413, allocations: 8 kB / 406.5 MB, free: 2.703 MB / 318.1 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 (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001093/0.3414, allocations: 99.25 kB / 406.6 MB, free: 2.598 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.3416, allocations: 55.83 kB / 406.6 MB, free: 2.543 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3417, allocations: 8.188 kB / 406.6 MB, free: 2.535 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.224e-05/0.3417, allocations: 19.98 kB / 406.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.3422, allocations: 33.58 kB / 406.7 MB, free: 2.484 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003819/0.3426, allocations: 201.3 kB / 406.9 MB, free: 2.25 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.3428, allocations: 0.7081 MB / 407.6 MB, free: 1.516 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.144e-05/0.3429, allocations: 8.125 kB / 407.6 MB, free: 1.508 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.3429, allocations: 19.42 kB / 407.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.343, allocations: 0 / 407.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of Templates: time 0.002951/0.3459, allocations: 0.6868 MB / 408.3 MB, free: 0.8203 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches