Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 183.4 kB / 16.39 MB, free: 5.742 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.287/1.287, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0009021/0.0009023, allocations: 96.05 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002492/0.0002492, allocations: 15.92 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2263, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09355/0.3199, allocations: 76.52 MB / 478 MB, free: 3.992 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.3202, allocations: 75.95 kB / 478.1 MB, free: 3.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002571/0.3228, allocations: 1.166 MB / 479.3 MB, free: 2.762 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3228, allocations: 3.938 kB / 479.3 MB, free: 2.758 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.3228, allocations: 0 / 479.3 MB, free: 2.758 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.0003127/0.3231, allocations: 355.2 kB / 479.6 MB, free: 2.363 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3232, allocations: 8.031 kB / 479.6 MB, free: 2.355 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.3232, allocations: 11.86 kB / 479.6 MB, free: 2.344 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.3234, allocations: 186.8 kB / 479.8 MB, free: 2.121 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.3234, allocations: 8 kB / 479.8 MB, free: 2.113 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.3234, allocations: 4 kB / 479.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.3237, allocations: 117 kB / 479.9 MB, free: 1.977 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3237, allocations: 0 / 479.9 MB, free: 1.977 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3237, allocations: 7.938 kB / 479.9 MB, free: 1.969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.3237, allocations: 3.984 kB / 479.9 MB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.616e-05/0.3238, allocations: 23.94 kB / 480 MB, free: 1.941 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.3241, allocations: 269.8 kB / 480.2 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.3243, allocations: 146.3 kB / 480.4 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.3243, allocations: 0 / 480.4 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.3244, allocations: 30.56 kB / 480.4 MB, free: 1.406 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.3244, allocations: 0 / 480.4 MB, free: 1.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000229/0.3246, allocations: 89.53 kB / 480.5 MB, free: 1.312 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.3247, allocations: 85.11 kB / 480.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.936e-05/0.3248, allocations: 117.2 kB / 480.7 MB, free: 1.086 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.3248, allocations: 25.7 kB / 480.7 MB, free: 1.055 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.3249, allocations: 92.08 kB / 480.8 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.3249, allocations: 8.016 kB / 480.8 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.3249, allocations: 4 kB / 480.8 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.325, allocations: 318.8 kB / 481.1 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.597e-05/0.3251, allocations: 4 kB / 481.1 MB, free: 0.625 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.777e-05/0.3251, allocations: 35.42 kB / 481.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.635e-05/0.3252, allocations: 19.98 kB / 481.2 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3252, allocations: 3.938 kB / 481.2 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001137/0.3253, allocations: 61.62 kB / 481.2 MB, free: 500 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3253, allocations: 8 kB / 481.3 MB, free: 492 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3253, allocations: 4.125 kB / 481.3 MB, free: 488 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3254, allocations: 3.938 kB / 481.3 MB, free: 484 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-05/0.3254, allocations: 15.94 kB / 481.3 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.3255, allocations: 4 kB / 481.3 MB, free: 464 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.15e-05/0.3255, allocations: 4 kB / 481.3 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.3255, allocations: 4 kB / 481.3 MB, free: 456 kB / 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 () * 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 9.592e-05/0.3256, allocations: 117.8 kB / 481.4 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/0.3257, allocations: 45.61 kB / 481.4 MB, free: 276 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.3257, allocations: 16.23 kB / 481.5 MB, free: 256 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3257, allocations: 3.938 kB / 481.5 MB, free: 252 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3258, allocations: 3.953 kB / 481.5 MB, free: 248 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3258, allocations: 0 / 481.5 MB, free: 248 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.3259, allocations: 177.5 kB / 481.6 MB, free: 20 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3259, allocations: 0 / 481.6 MB, free: 20 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.334e-05/0.326, allocations: 8 kB / 481.7 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.326, allocations: 0 / 481.7 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.326, allocations: 0 / 481.7 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.326, allocations: 4 kB / 481.7 MB, free: 8 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.326, allocations: 8 kB / 481.7 MB, free: 0 / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.3262, allocations: 182 kB / 481.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.3263, allocations: 89.38 kB / 481.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.3263, allocations: 8 kB / 481.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.434e-05/0.3264, allocations: 11.92 kB / 482 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.3264, allocations: 7.953 kB / 482 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.3264, allocations: 0 / 482 MB, free: 15.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.521e-05/0.3265, allocations: 106.4 kB / 482.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3265, allocations: 0 / 482.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001981/0.3267, allocations: 4 kB / 482.1 MB, free: 15.56 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.0001149/0.3268, allocations: 99.23 kB / 482.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.327, allocations: 39.91 kB / 482.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.327, allocations: 0 / 482.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.58e-05/0.327, allocations: 8 kB / 482.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.3273, allocations: 22.59 kB / 482.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003024/0.3276, allocations: 170 kB / 482.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.3279, allocations: 0.7004 MB / 483.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.358e-05/0.3279, allocations: 0 / 483.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.328, allocations: 11.44 kB / 483.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.328, allocations: 0 / 483.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of Templates: time 0.002111/0.3301, allocations: 433.2 kB / 483.5 MB, free: 14.03 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches