Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 179.7 kB / 16.38 MB, free: 5.766 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.249/1.249, 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.0007136/0.0007136, allocations: 94.3 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002449/0.0002448, allocations: 11.94 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2221, allocations: 50.41 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08921/0.3113, allocations: 77.07 MB / 478.6 MB, free: 3.414 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.3116, allocations: 80.89 kB / 478.6 MB, free: 3.336 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003892/0.3155, allocations: 1.47 MB / 480.1 MB, free: 1.875 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3155, allocations: 0 / 480.1 MB, free: 1.875 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.3155, allocations: 4 kB / 480.1 MB, free: 1.871 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.0003645/0.3159, allocations: 375.6 kB / 480.5 MB, free: 1.457 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.316, allocations: 8.031 kB / 480.5 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.316, allocations: 11.86 kB / 480.5 MB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.3162, allocations: 179.6 kB / 480.7 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3162, allocations: 8 kB / 480.7 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.3162, allocations: 0 / 480.7 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.3165, allocations: 132.8 kB / 480.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3165, allocations: 3.938 kB / 480.8 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.3165, allocations: 0 / 480.8 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.3165, allocations: 3.953 kB / 480.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.924e-05/0.3166, allocations: 23.98 kB / 480.9 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.317, allocations: 273.8 kB / 481.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.3172, allocations: 138.2 kB / 481.3 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.3172, allocations: 4 kB / 481.3 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.3172, allocations: 34.62 kB / 481.3 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.3172, allocations: 0 / 481.3 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002423/0.3175, allocations: 89.55 kB / 481.4 MB, free: 412 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.3175, allocations: 89.23 kB / 481.5 MB, free: 304 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.3177, allocations: 127.9 kB / 481.6 MB, free: 168 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.3177, allocations: 25.7 kB / 481.6 MB, free: 136 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.3177, allocations: 88.08 kB / 481.7 MB, free: 44 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.3177, allocations: 4 kB / 481.7 MB, free: 40 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.3177, allocations: 4 kB / 481.7 MB, free: 36 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3179, allocations: 314.8 kB / 482 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.266e-05/0.3179, allocations: 15.94 kB / 482 MB, free: 15.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.663e-05/0.318, allocations: 35.42 kB / 482.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.56e-05/0.318, allocations: 16 kB / 482.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.318, allocations: 3.984 kB / 482.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001237/0.3182, allocations: 73.53 kB / 482.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.3182, allocations: 7.938 kB / 482.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3182, allocations: 0 / 482.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3182, allocations: 4.281 kB / 482.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/0.3183, allocations: 15.94 kB / 482.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3183, allocations: 0 / 482.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.3184, allocations: 12.12 kB / 482.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.3184, allocations: 0 / 482.2 MB, free: 15.52 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 7.028e-05/0.3184, allocations: 121.8 kB / 482.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/0.3185, allocations: 53.53 kB / 482.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.3186, allocations: 8.234 kB / 482.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3186, allocations: 4 kB / 482.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3186, allocations: 3.953 kB / 482.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-06/0.3186, allocations: 0 / 482.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.3187, allocations: 165.7 kB / 482.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3187, allocations: 8 kB / 482.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.601e-05/0.3188, allocations: 15.98 kB / 482.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3188, allocations: 0 / 482.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3188, allocations: 7.938 kB / 482.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3188, allocations: 0 / 482.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3188, allocations: 0 / 482.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.319, allocations: 186 kB / 482.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.3191, allocations: 96.94 kB / 482.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.3191, allocations: 4 kB / 482.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.416e-05/0.3192, allocations: 0 / 482.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.3192, allocations: 11.94 kB / 482.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.3192, allocations: 0 / 482.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.63e-05/0.3193, allocations: 105.9 kB / 483 MB, free: 14.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3193, allocations: 4 kB / 483 MB, free: 14.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002041/0.3195, allocations: 8 kB / 483 MB, free: 14.62 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 9.404e-05/0.3196, allocations: 99.23 kB / 483.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.3197, allocations: 35.92 kB / 483.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3197, allocations: 3.938 kB / 483.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.761e-05/0.3198, allocations: 12.25 kB / 483.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.32, allocations: 22.94 kB / 483.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.3203, allocations: 193.5 kB / 483.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.3206, allocations: 0.6966 MB / 484 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.872e-05/0.3206, allocations: 0 / 484 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.611e-05/0.3206, allocations: 11.44 kB / 484.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3206, allocations: 0 / 484.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of Templates: time 0.002079/0.3227, allocations: 462.3 kB / 484.5 MB, free: 13.04 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches