Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000969/0.0009691, allocations: 195.8 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 226.5 MB / 245.4 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007589/0.000759, allocations: 92.72 kB / 297.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002486/0.0002486, allocations: 4 kB / 358.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2197, allocations: 51.28 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09034/0.3101, allocations: 78.31 MB / 487.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/0.3103, allocations: 82.42 kB / 487.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006066/0.3164, allocations: 2.279 MB / 490 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3165, allocations: 0 / 490 MB, free: 10.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.3165, allocations: 0 / 490 MB, free: 10.88 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004797/0.317, allocations: 399.3 kB / 490.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.317, allocations: 11.97 kB / 490.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.3171, allocations: 16.84 kB / 490.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.3172, allocations: 195 kB / 490.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.3173, allocations: 8.562 kB / 490.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.3173, allocations: 8.281 kB / 490.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.3176, allocations: 134.4 kB / 490.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3176, allocations: 0 / 490.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3176, allocations: 4 kB / 490.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3176, allocations: 8 kB / 490.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.3179, allocations: 79.94 kB / 490.9 MB, free: 9.941 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006746/0.3185, allocations: 0.5325 MB / 491.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.3187, allocations: 86.48 kB / 491.5 MB, free: 9.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.3188, allocations: 48.83 kB / 491.5 MB, free: 9.199 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.3189, allocations: 0 / 491.5 MB, free: 9.199 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.3189, allocations: 30.56 kB / 491.6 MB, free: 9.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.214e-06/0.3189, allocations: 7.984 kB / 491.6 MB, free: 9.152 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003649/0.3193, allocations: 141.6 kB / 491.7 MB, free: 9.008 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.3193, allocations: 55.41 kB / 491.8 MB, free: 8.941 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.733e-05/0.3194, allocations: 129.8 kB / 491.9 MB, free: 8.805 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.3194, allocations: 25.7 kB / 491.9 MB, free: 8.773 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.3195, allocations: 111.8 kB / 492 MB, free: 8.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.3195, allocations: 23.66 kB / 492.1 MB, free: 8.637 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.3195, allocations: 0 / 492.1 MB, free: 8.637 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.3196, allocations: 322.8 kB / 492.4 MB, free: 8.312 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.3197, allocations: 39.97 kB / 492.4 MB, free: 8.273 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.3198, allocations: 72.27 kB / 492.5 MB, free: 8.188 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.3201, allocations: 121.4 kB / 492.6 MB, free: 8.055 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3201, allocations: 3.938 kB / 492.6 MB, free: 8.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002699/0.3203, allocations: 141.4 kB / 492.7 MB, free: 7.906 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/0.3204, allocations: 4 kB / 492.7 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3204, allocations: 4 kB / 492.7 MB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3204, allocations: 3.984 kB / 492.7 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.3206, allocations: 40.05 kB / 492.8 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3206, allocations: 0 / 492.8 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.153e-05/0.3207, allocations: 23.89 kB / 492.8 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.3207, allocations: 0 / 492.8 MB, free: 7.832 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 13 * 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.768e-05/0.3208, allocations: 133.7 kB / 492.9 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.3208, allocations: 7.906 kB / 493 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.3209, allocations: 8.375 kB / 493 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3209, allocations: 4 kB / 493 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3209, allocations: 0 / 493 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3209, allocations: 7.984 kB / 493 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.3211, allocations: 193.6 kB / 493.2 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3211, allocations: 4 kB / 493.2 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.3212, allocations: 19.98 kB / 493.2 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3212, allocations: 4 kB / 493.2 MB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3212, allocations: 7.984 kB / 493.2 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3212, allocations: 0 / 493.2 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3212, allocations: 4 kB / 493.2 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.3216, allocations: 251.6 kB / 493.4 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.3217, allocations: 81.02 kB / 493.5 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.3217, allocations: 4 kB / 493.5 MB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.84e-05/0.3218, allocations: 12.03 kB / 493.5 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.3218, allocations: 4 kB / 493.5 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.3218, allocations: 0 / 493.5 MB, free: 7.008 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.072e-05/0.3219, allocations: 102 kB / 493.6 MB, free: 6.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3219, allocations: 3.938 kB / 493.6 MB, free: 6.906 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002334/0.3221, allocations: 31.92 kB / 493.7 MB, free: 6.875 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (load.phi,load.w,PI.x) * 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 (7): * Single equations (assignments): 7 * 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.0001028/0.3222, allocations: 99.25 kB / 493.8 MB, free: 6.766 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002467/0.3225, allocations: 84.08 kB / 493.9 MB, free: 6.684 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.3225, allocations: 8.062 kB / 493.9 MB, free: 6.676 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.3226, allocations: 47.97 kB / 493.9 MB, free: 6.629 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.3229, allocations: 26.06 kB / 493.9 MB, free: 6.605 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006657/0.3236, allocations: 429.2 kB / 494.4 MB, free: 6.152 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.3239, allocations: 0.7083 MB / 495.1 MB, free: 5.418 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.322e-05/0.3239, allocations: 4.438 kB / 495.1 MB, free: 5.414 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/0.3239, allocations: 11.44 kB / 495.1 MB, free: 5.402 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.324, allocations: 0 / 495.1 MB, free: 5.402 MB / 362.7 MB Notification: Performance of Templates: time 0.002868/0.3268, allocations: 0.8603 MB / 495.9 MB, free: 4.555 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches