Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009393/0.0009393, allocations: 200 kB / 18.06 MB, free: 3.648 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 226.5 MB / 245.4 MB, free: 8.086 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007912/0.0007914, allocations: 91.77 kB / 297.4 MB, free: 6.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.0002829, allocations: 8 kB / 357.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2208, allocations: 51.29 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0892/0.31, allocations: 77.8 MB / 486.5 MB, free: 13.81 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.3103, allocations: 79.95 kB / 486.5 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004176/0.3145, allocations: 1.576 MB / 488.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3145, allocations: 0 / 488.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.3146, allocations: 4 kB / 488.1 MB, free: 12.16 MB / 362.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.0003641/0.3149, allocations: 375.3 kB / 488.5 MB, free: 11.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.315, allocations: 8.031 kB / 488.5 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.3151, allocations: 20.83 kB / 488.5 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.3153, allocations: 192.1 kB / 488.7 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.3153, allocations: 4.359 kB / 488.7 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.3154, allocations: 4.375 kB / 488.7 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.3156, allocations: 117.6 kB / 488.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.3156, allocations: 192 / 488.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.3157, allocations: 7.938 kB / 488.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.3157, allocations: 0 / 488.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.302e-05/0.3158, allocations: 31.92 kB / 488.9 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.3161, allocations: 265.7 kB / 489.1 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.3163, allocations: 158.1 kB / 489.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.856e-05/0.3164, allocations: 29.77 kB / 489.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.3164, allocations: 0 / 489.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.3164, allocations: 34.56 kB / 489.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.3164, allocations: 0 / 489.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002429/0.3167, allocations: 85.61 kB / 489.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.3168, allocations: 77.11 kB / 489.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.3169, allocations: 148 kB / 489.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.3169, allocations: 25.7 kB / 489.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/0.3169, allocations: 88.14 kB / 489.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.3169, allocations: 4.125 kB / 489.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.317, allocations: 4 kB / 489.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.317, allocations: 318.8 kB / 490.1 MB, free: 9.945 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.113e-05/0.3171, allocations: 8 kB / 490.1 MB, free: 9.938 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.834e-05/0.3171, allocations: 39.36 kB / 490.1 MB, free: 9.887 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.03e-05/0.3172, allocations: 51.42 kB / 490.2 MB, free: 9.824 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3173, allocations: 3.938 kB / 490.2 MB, free: 9.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001367/0.3174, allocations: 81.45 kB / 490.3 MB, free: 9.734 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3174, allocations: 4 kB / 490.3 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3174, allocations: 4 kB / 490.3 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3174, allocations: 0 / 490.3 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.503e-05/0.3175, allocations: 11.94 kB / 490.3 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.3175, allocations: 4 kB / 490.3 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/0.3176, allocations: 11.92 kB / 490.3 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.3176, allocations: 4 kB / 490.3 MB, free: 9.695 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.644e-05/0.3177, allocations: 121.9 kB / 490.4 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.609e-05/0.3178, allocations: 53.53 kB / 490.5 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.67e-05/0.3178, allocations: 12.25 kB / 490.5 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3178, allocations: 0 / 490.5 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3178, allocations: 0 / 490.5 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3178, allocations: 336 / 490.5 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.318, allocations: 181.6 kB / 490.7 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.318, allocations: 0 / 490.7 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.232e-05/0.3181, allocations: 8 kB / 490.7 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3181, allocations: 7.984 kB / 490.7 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.3181, allocations: 0 / 490.7 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3181, allocations: 7.938 kB / 490.7 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3181, allocations: 0 / 490.7 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.3183, allocations: 180.2 kB / 490.9 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.3184, allocations: 93 kB / 490.9 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.3184, allocations: 7.984 kB / 491 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.39e-05/0.3185, allocations: 4 kB / 491 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.3185, allocations: 0 / 491 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.3185, allocations: 0 / 491 MB, free: 8.922 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.699e-05/0.3186, allocations: 110.1 kB / 491.1 MB, free: 8.816 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3186, allocations: 0 / 491.1 MB, free: 8.816 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000223/0.3188, allocations: 8 kB / 491.1 MB, free: 8.809 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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.0001124/0.319, allocations: 99.25 kB / 491.2 MB, free: 8.699 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.3191, allocations: 35.92 kB / 491.2 MB, free: 8.664 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3191, allocations: 4 kB / 491.2 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.565e-05/0.3192, allocations: 7.984 kB / 491.2 MB, free: 8.652 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.3195, allocations: 37.25 kB / 491.3 MB, free: 8.621 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.3199, allocations: 215.5 kB / 491.5 MB, free: 8.371 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.3201, allocations: 0.6887 MB / 492.2 MB, free: 7.656 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.3202, allocations: 11.44 kB / 492.2 MB, free: 7.645 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3202, allocations: 4 kB / 492.2 MB, free: 7.641 MB / 362.7 MB Notification: Performance of Templates: time 0.001932/0.3221, allocations: 0.7256 MB / 492.9 MB, free: 6.918 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches