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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0008799/0.0008799, allocations: 94.5 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009627/0.0009626, allocations: 202.3 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 227.7 MB / 247.5 MB, free: 10.94 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002424/0.0002425, allocations: 8 kB / 308.4 MB, free: 0.7695 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08977/0.09003, allocations: 51.53 MB / 359.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.00205/0.09212, allocations: 1.587 MB / 361.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008317/0.09298, allocations: 478.9 kB / 362 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.983e-05/0.0931, allocations: 7.938 kB / 362 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.697e-05/0.09319, allocations: 7.922 kB / 362 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.479e-05/0.09328, allocations: 15.86 kB / 362 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.09343, allocations: 31.91 kB / 362 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.09359, allocations: 95.66 kB / 362.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.09373, allocations: 41.36 kB / 362.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.095e-05/0.09381, allocations: 35.86 kB / 362.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.753e-05/0.09388, allocations: 39.72 kB / 362.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.09391, allocations: 4 kB / 362.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.489e-05/0.09393, allocations: 4 kB / 362.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.09396, allocations: 15.92 kB / 362.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.653e-05/0.09402, allocations: 65.45 kB / 362.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.96e-05/0.09412, allocations: 76.06 kB / 362.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.09413, allocations: 0 / 362.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.09414, allocations: 0 / 362.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.09415, allocations: 0 / 362.4 MB, free: 10.73 MB / 302.1 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.0004839/0.09464, allocations: 397.6 kB / 362.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.09468, allocations: 12.03 kB / 362.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.09473, allocations: 12.84 kB / 362.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.0949, allocations: 192.1 kB / 363 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.09492, allocations: 8.562 kB / 363 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.09496, allocations: 8.375 kB / 363 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.09523, allocations: 123.3 kB / 363.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.09526, allocations: 7.938 kB / 363.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.09528, allocations: 0 / 363.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.09529, allocations: 4 kB / 363.1 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/0.09553, allocations: 83.88 kB / 363.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006538/0.09619, allocations: 0.5323 MB / 363.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.09639, allocations: 86.59 kB / 363.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.09652, allocations: 44.83 kB / 363.9 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.09654, allocations: 0 / 363.9 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.09657, allocations: 38.5 kB / 363.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.09658, allocations: 7.938 kB / 363.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004081/0.09699, allocations: 137.8 kB / 364.1 MB, free: 8.871 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.09703, allocations: 51.41 kB / 364.1 MB, free: 8.809 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.403e-05/0.09714, allocations: 129.8 kB / 364.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.09716, allocations: 29.7 kB / 364.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.912e-05/0.09722, allocations: 111.9 kB / 364.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.09725, allocations: 27.55 kB / 364.4 MB, free: 8.496 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.09728, allocations: 17.72 kB / 364.4 MB, free: 8.473 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.97e-05/0.09738, allocations: 322.8 kB / 364.7 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.0975, allocations: 39.97 kB / 364.8 MB, free: 8.109 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.09764, allocations: 80.2 kB / 364.9 MB, free: 8.016 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.09788, allocations: 112.2 kB / 365 MB, free: 7.891 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.09789, allocations: 4 kB / 365 MB, free: 7.887 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003018/0.0982, allocations: 145.4 kB / 365.1 MB, free: 7.738 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.09822, allocations: 4 kB / 365.1 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.09823, allocations: 0 / 365.1 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.09825, allocations: 7.984 kB / 365.1 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.09841, allocations: 40.14 kB / 365.2 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.09843, allocations: 3.938 kB / 365.2 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.904e-05/0.09851, allocations: 15.92 kB / 365.2 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.09853, allocations: 4 kB / 365.2 MB, free: 7.664 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.99e-05/0.09861, allocations: 125.7 kB / 365.3 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.09865, allocations: 7.906 kB / 365.3 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.09869, allocations: 12.38 kB / 365.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.09869, allocations: 4 kB / 365.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.0987, allocations: 0 / 365.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.09871, allocations: 0 / 365.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.0989, allocations: 205.5 kB / 365.5 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.09891, allocations: 0 / 365.5 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.09905, allocations: 27.92 kB / 365.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.09906, allocations: 0 / 365.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.09908, allocations: 4 kB / 365.6 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.09909, allocations: 3.984 kB / 365.6 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.09909, allocations: 4 kB / 365.6 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.0995, allocations: 243.3 kB / 365.8 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.09955, allocations: 89.02 kB / 365.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.09957, allocations: 3.938 kB / 365.9 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.368e-05/0.09967, allocations: 12.03 kB / 365.9 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.09971, allocations: 4 kB / 365.9 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.09973, allocations: 4 kB / 365.9 MB, free: 6.836 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.376e-05/0.09979, allocations: 95.27 kB / 366 MB, free: 6.742 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.0998, allocations: 0 / 366 MB, free: 6.742 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.1, allocations: 23.94 kB / 366 MB, free: 6.719 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.877e-05/0.1002, allocations: 107.2 kB / 366.1 MB, free: 6.602 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002694/0.1004, allocations: 87.89 kB / 366.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1004, allocations: 256 / 366.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.1006, allocations: 39.97 kB / 366.3 MB, free: 6.477 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.1009, allocations: 27.92 kB / 366.3 MB, free: 6.449 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006632/0.1016, allocations: 474.9 kB / 366.8 MB, free: 5.953 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.1018, allocations: 0.7013 MB / 367.5 MB, free: 5.227 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.1018, allocations: 15.44 kB / 367.5 MB, free: 5.211 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1018, allocations: 0 / 367.5 MB, free: 5.211 MB / 302.1 MB Notification: Performance of Templates: time 0.002641/0.1045, allocations: 1.251 MB / 368.7 MB, free: 3.969 MB / 302.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches