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.001466/0.001466, allocations: 115.8 kB / 17.74 MB, free: 5.344 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.001196/0.001196, allocations: 189.5 kB / 18.67 MB, free: 4.422 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.44/1.44, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 47.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3325, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003101/0.3357, allocations: 1.609 MB / 403 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008788/0.3366, allocations: 482.7 kB / 403.5 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.996e-05/0.3367, allocations: 4 kB / 403.5 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.3368, allocations: 15.8 kB / 403.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.3369, allocations: 11.86 kB / 403.5 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.3372, allocations: 51.88 kB / 403.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.3373, allocations: 59.78 kB / 403.6 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.3375, allocations: 20 kB / 403.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.847e-05/0.3376, allocations: 27.84 kB / 403.7 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.417e-05/0.3376, allocations: 31.84 kB / 403.7 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.3377, allocations: 4 kB / 403.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.648e-05/0.3377, allocations: 4 kB / 403.7 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.165e-05/0.3378, allocations: 23.92 kB / 403.7 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.3378, allocations: 23.81 kB / 403.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.338, allocations: 79.59 kB / 403.8 MB, free: 6.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.338, allocations: 3.938 kB / 403.8 MB, free: 6.422 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.338, allocations: 0 / 403.8 MB, free: 6.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.338, allocations: 0 / 403.8 MB, free: 6.422 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.0006651/0.3387, allocations: 388.2 kB / 404.2 MB, free: 6 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/0.3388, allocations: 12.03 kB / 404.2 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.3388, allocations: 8.844 kB / 404.2 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.3391, allocations: 207.8 kB / 404.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3391, allocations: 4.375 kB / 404.5 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.3392, allocations: 4.375 kB / 404.5 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.3395, allocations: 126.2 kB / 404.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3395, allocations: 4 kB / 404.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3395, allocations: 0 / 404.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.3396, allocations: 7.938 kB / 404.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.3397, allocations: 39.97 kB / 404.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/0.3402, allocations: 381.7 kB / 405 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.3404, allocations: 83.83 kB / 405.1 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.194e-05/0.3405, allocations: 38.56 kB / 405.1 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.3405, allocations: 4 kB / 405.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.3405, allocations: 34.56 kB / 405.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 2.695e-06/0.3405, allocations: 3.984 kB / 405.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003725/0.3409, allocations: 117.4 kB / 405.3 MB, free: 4.781 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.341, allocations: 115.1 kB / 405.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.3411, allocations: 150.2 kB / 405.5 MB, free: 4.488 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.3412, allocations: 25.7 kB / 405.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.3412, allocations: 88.14 kB / 405.6 MB, free: 4.367 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.3413, allocations: 11.91 kB / 405.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.3413, allocations: 17.7 kB / 405.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3414, allocations: 318.8 kB / 406 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.227e-05/0.3415, allocations: 27.97 kB / 406 MB, free: 3.984 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.419e-05/0.3416, allocations: 39.42 kB / 406.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.3417, allocations: 71.34 kB / 406.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3418, allocations: 0 / 406.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001898/0.342, allocations: 89.5 kB / 406.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.342, allocations: 7.938 kB / 406.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.342, allocations: 0 / 406.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.342, allocations: 4 kB / 406.2 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.3421, allocations: 11.98 kB / 406.2 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3421, allocations: 4.125 kB / 406.2 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.88e-05/0.3422, allocations: 11.88 kB / 406.2 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.3422, allocations: 4 kB / 406.3 MB, free: 3.715 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 0.0001057/0.3423, allocations: 125.7 kB / 406.4 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.071e-05/0.3424, allocations: 57.53 kB / 406.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.3425, allocations: 11.88 kB / 406.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.3425, allocations: 4 kB / 406.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3425, allocations: 3.984 kB / 406.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3425, allocations: 4.031 kB / 406.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.3427, allocations: 181.5 kB / 406.6 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3428, allocations: 0 / 406.6 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.064e-05/0.3428, allocations: 7.984 kB / 406.6 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3428, allocations: 4 kB / 406.6 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.3428, allocations: 4 kB / 406.6 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3429, allocations: 0 / 406.6 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.3429, allocations: 7.984 kB / 406.7 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.3432, allocations: 271.4 kB / 406.9 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-05/0.3433, allocations: 97 kB / 407 MB, free: 2.844 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.3433, allocations: 0 / 407 MB, free: 2.844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.3434, allocations: 7.984 kB / 407 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.3435, allocations: 3.938 kB / 407 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.3435, allocations: 7.984 kB / 407 MB, free: 2.824 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.094e-05/0.3436, allocations: 122.1 kB / 407.2 MB, free: 2.707 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3436, allocations: 0 / 407.2 MB, free: 2.707 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.3438, allocations: 8 kB / 407.2 MB, free: 2.699 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.0001154/0.344, allocations: 95.25 kB / 407.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.3442, allocations: 59.83 kB / 407.3 MB, free: 2.539 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3442, allocations: 4.25 kB / 407.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.986e-05/0.3443, allocations: 19.98 kB / 407.3 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.0004436/0.3447, allocations: 27.95 kB / 407.4 MB, free: 2.488 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004482/0.3452, allocations: 227.1 kB / 407.6 MB, free: 2.223 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.3455, allocations: 0.712 MB / 408.3 MB, free: 1.484 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.3456, allocations: 7.438 kB / 408.3 MB, free: 1.477 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3456, allocations: 0 / 408.3 MB, free: 1.477 MB / 318.1 MB Notification: Performance of Templates: time 0.002522/0.3481, allocations: 0.9494 MB / 409.3 MB, free: 0.5391 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/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