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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 100.6 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007882/0.0007884, allocations: 39.95 kB / 350 MB, free: 76 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2927, allocations: 49.43 MB / 399.5 MB, free: 33.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002858/0.2956, allocations: 1.664 MB / 401.1 MB, free: 31.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007264/0.2964, allocations: 478.8 kB / 401.6 MB, free: 31.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.816e-05/0.2965, allocations: 0 / 401.6 MB, free: 31.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.2966, allocations: 11.94 kB / 401.6 MB, free: 31.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.2968, allocations: 11.92 kB / 401.6 MB, free: 31.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.297, allocations: 43.84 kB / 401.7 MB, free: 31.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.2972, allocations: 59.77 kB / 401.7 MB, free: 31.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2973, allocations: 12 kB / 401.7 MB, free: 31.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.655e-05/0.2974, allocations: 31.86 kB / 401.8 MB, free: 31.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.978e-05/0.2974, allocations: 27.84 kB / 401.8 MB, free: 31.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.2974, allocations: 4 kB / 401.8 MB, free: 31.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.785e-05/0.2975, allocations: 7.938 kB / 401.8 MB, free: 31.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.501e-05/0.2975, allocations: 19.91 kB / 401.8 MB, free: 31.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.2976, allocations: 27.81 kB / 401.9 MB, free: 31 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.2977, allocations: 63.72 kB / 401.9 MB, free: 30.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2977, allocations: 3.938 kB / 401.9 MB, free: 30.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.2977, allocations: 0 / 401.9 MB, free: 30.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.2977, allocations: 0 / 401.9 MB, free: 30.93 MB / 298.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.0004875/0.2982, allocations: 404.6 kB / 402.3 MB, free: 30.49 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2982, allocations: 8.031 kB / 402.3 MB, free: 30.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.2983, allocations: 16.75 kB / 402.3 MB, free: 30.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.2985, allocations: 194.3 kB / 402.5 MB, free: 30.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.2985, allocations: 12.34 kB / 402.5 MB, free: 30.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.2985, allocations: 384 / 402.5 MB, free: 30.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.2988, allocations: 134.2 kB / 402.7 MB, free: 30.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2988, allocations: 0 / 402.7 MB, free: 30.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.2988, allocations: 0 / 402.7 MB, free: 30.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.2988, allocations: 4 kB / 402.7 MB, free: 30.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.2989, allocations: 39.91 kB / 402.7 MB, free: 30.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.2993, allocations: 373.9 kB / 403.1 MB, free: 29.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.2994, allocations: 83.77 kB / 403.2 MB, free: 29.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.011e-05/0.2995, allocations: 46.56 kB / 403.2 MB, free: 29.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.2995, allocations: 4 kB / 403.2 MB, free: 29.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.2996, allocations: 30.56 kB / 403.2 MB, free: 29.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.2996, allocations: 0 / 403.2 MB, free: 29.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003189/0.2999, allocations: 117.6 kB / 403.4 MB, free: 29.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.2999, allocations: 106.8 kB / 403.5 MB, free: 29.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.3, allocations: 157.1 kB / 403.6 MB, free: 29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.3001, allocations: 29.69 kB / 403.6 MB, free: 28.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.3001, allocations: 92.14 kB / 403.7 MB, free: 28.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.3001, allocations: 3.906 kB / 403.7 MB, free: 28.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.3002, allocations: 33.89 kB / 403.8 MB, free: 28.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.78e-05/0.3002, allocations: 318.8 kB / 404.1 MB, free: 28.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.028e-05/0.3003, allocations: 15.98 kB / 404.1 MB, free: 28.49 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.097e-05/0.3003, allocations: 43.41 kB / 404.1 MB, free: 28.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.3005, allocations: 67.34 kB / 404.2 MB, free: 28.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3005, allocations: 4 kB / 404.2 MB, free: 28.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001592/0.3006, allocations: 85.53 kB / 404.3 MB, free: 28.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3007, allocations: 8.125 kB / 404.3 MB, free: 28.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3007, allocations: 3.938 kB / 404.3 MB, free: 28.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3007, allocations: 4 kB / 404.3 MB, free: 28.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.89e-05/0.3008, allocations: 15.92 kB / 404.3 MB, free: 28.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3008, allocations: 4 kB / 404.3 MB, free: 28.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.288e-05/0.3009, allocations: 11.84 kB / 404.3 MB, free: 28.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3009, allocations: 4 kB / 404.3 MB, free: 28.21 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/0.3009, allocations: 133.8 kB / 404.5 MB, free: 28.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.08e-05/0.301, allocations: 49.59 kB / 404.5 MB, free: 28.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.301, allocations: 11.88 kB / 404.5 MB, free: 28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.3011, allocations: 4 kB / 404.5 MB, free: 28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3011, allocations: 0 / 404.5 MB, free: 28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3011, allocations: 4 kB / 404.5 MB, free: 27.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.3013, allocations: 181.6 kB / 404.7 MB, free: 27.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3013, allocations: 3.938 kB / 404.7 MB, free: 27.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.477e-05/0.3013, allocations: 11.98 kB / 404.7 MB, free: 27.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3013, allocations: 0 / 404.7 MB, free: 27.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.3013, allocations: 0 / 404.7 MB, free: 27.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3014, allocations: 8.031 kB / 404.7 MB, free: 27.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3014, allocations: 0 / 404.7 MB, free: 27.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.3017, allocations: 0.8489 MB / 405.6 MB, free: 26.83 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.3018, allocations: 97.14 kB / 405.7 MB, free: 26.72 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.3018, allocations: 0 / 405.7 MB, free: 26.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.302, allocations: 11.97 kB / 405.7 MB, free: 26.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.302, allocations: 3.938 kB / 405.7 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.302, allocations: 4 kB / 405.7 MB, free: 26.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.165e-05/0.3021, allocations: 111.2 kB / 405.8 MB, free: 26.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3021, allocations: 0 / 405.8 MB, free: 26.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003409/0.3024, allocations: 12 kB / 405.8 MB, free: 26.58 MB / 298.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 (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 8.816e-05/0.3025, allocations: 103.2 kB / 405.9 MB, free: 26.47 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.3027, allocations: 51.91 kB / 406 MB, free: 26.42 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3027, allocations: 0 / 406 MB, free: 26.42 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.017e-05/0.3028, allocations: 19.92 kB / 406 MB, free: 26.4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.3032, allocations: 24.33 kB / 406 MB, free: 26.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.3036, allocations: 348.9 kB / 406.4 MB, free: 25.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.3038, allocations: 0.7004 MB / 407.1 MB, free: 25.26 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.078e-05/0.3038, allocations: 11.98 kB / 407.1 MB, free: 25.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.3038, allocations: 11.38 kB / 407.1 MB, free: 25.23 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3039, allocations: 0 / 407.1 MB, free: 25.23 MB / 298.7 MB Notification: Performance of Templates: time 0.002447/0.3063, allocations: 0.6386 MB / 407.7 MB, free: 24.61 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches