Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001338, allocations: 175.6 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 221.5 MB / 230.3 MB, free: 7.512 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009696/0.0009696, allocations: 104.8 kB / 281.2 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.404e-05/1.395e-05, allocations: 4 kB / 337 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08878/0.0888, allocations: 50.43 MB / 387.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.288/0.3768, allocations: 76.35 MB / 463.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.3771, allocations: 85.69 kB / 463.9 MB, free: 2.402 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005559/0.3827, allocations: 2.098 MB / 466 MB, free: 320 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3827, allocations: 4 kB / 466 MB, free: 316 kB / 330.7 MB Notification: Performance of Transformations before backend: time 9.729e-06/0.3827, allocations: 4 kB / 466 MB, free: 312 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003532/0.3831, allocations: 343.9 kB / 466.4 MB, free: 15.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3831, allocations: 12.03 kB / 466.4 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.3831, allocations: 15.8 kB / 466.4 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.3833, allocations: 190.9 kB / 466.6 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.3834, allocations: 0 / 466.6 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-06/0.3834, allocations: 3.938 kB / 466.6 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.35e-05/0.3835, allocations: 27.98 kB / 466.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.3836, allocations: 101.9 kB / 466.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.3837, allocations: 4 kB / 466.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.3837, allocations: 0 / 466.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.3837, allocations: 0 / 466.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.384, allocations: 255.2 kB / 466.9 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.84e-05/0.3841, allocations: 63.72 kB / 467 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.3841, allocations: 30.7 kB / 467 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.3842, allocations: 0 / 467 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.3842, allocations: 42.45 kB / 467.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3842, allocations: 0 / 467.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001559/0.3844, allocations: 53.59 kB / 467.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.3844, allocations: 110.8 kB / 467.2 MB, free: 14.85 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.3845, allocations: 132.8 kB / 467.4 MB, free: 14.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.3846, allocations: 25.7 kB / 467.4 MB, free: 14.69 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.3846, allocations: 88.05 kB / 467.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.3846, allocations: 8 kB / 467.5 MB, free: 14.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.3847, allocations: 0.75 kB / 467.5 MB, free: 14.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3848, allocations: 318.8 kB / 467.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/0.3848, allocations: 12 kB / 467.8 MB, free: 14.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.795e-05/0.3848, allocations: 23.44 kB / 467.8 MB, free: 14.22 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.433e-05/0.3849, allocations: 11.98 kB / 467.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3849, allocations: 0 / 467.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.276e-05/0.385, allocations: 57.61 kB / 467.9 MB, free: 14.15 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.385, allocations: 11.95 kB / 467.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.385, allocations: 3.938 kB / 467.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.385, allocations: 7.984 kB / 467.9 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.239e-05/0.3851, allocations: 11.94 kB / 467.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.3851, allocations: 4 kB / 467.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.936e-05/0.3852, allocations: 4 kB / 467.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.3852, allocations: 0 / 467.9 MB, free: 14.11 MB / 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 () * 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 6.653e-05/0.3853, allocations: 109 kB / 468.1 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.3853, allocations: 53.55 kB / 468.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.3854, allocations: 11.91 kB / 468.1 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3854, allocations: 4 kB / 468.1 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3854, allocations: 0 / 468.1 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3854, allocations: 0 / 468.1 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.3856, allocations: 154.2 kB / 468.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3856, allocations: 0 / 468.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.3857, allocations: 8 kB / 468.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3857, allocations: 4.062 kB / 468.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.3857, allocations: 7.984 kB / 468.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3857, allocations: 3.984 kB / 468.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3857, allocations: 3.953 kB / 468.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.3859, allocations: 192.5 kB / 468.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.423e-05/0.3859, allocations: 93 kB / 468.6 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.386, allocations: 3.953 kB / 468.6 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.386, allocations: 4 kB / 468.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.3861, allocations: 7.984 kB / 468.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.3861, allocations: 0 / 468.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.358e-05/0.3861, allocations: 105.5 kB / 468.7 MB, free: 13.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3862, allocations: 0 / 468.7 MB, free: 13.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002083/0.3864, allocations: 4 kB / 468.7 MB, free: 13.25 MB / 346.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 () * 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.0001088/0.3865, allocations: 99.25 kB / 468.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.503e-05/0.3866, allocations: 27.88 kB / 468.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3866, allocations: 0 / 468.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.114e-05/0.3866, allocations: 0 / 468.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.3868, allocations: 20.02 kB / 468.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.3871, allocations: 118.2 kB / 469 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.3874, allocations: 0.6973 MB / 469.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.633e-05/0.3875, allocations: 4.188 kB / 469.7 MB, free: 12.22 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.372e-05/0.3875, allocations: 11.44 kB / 469.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3875, allocations: 0 / 469.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of Templates: time 0.002231/0.3897, allocations: 0.5001 MB / 470.2 MB, free: 11.72 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches