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.0015/0.0015, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001871/0.001872, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3108, allocations: 50.55 MB / 409.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003269/0.3141, allocations: 1.871 MB / 411.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008223/0.315, allocations: 486.7 kB / 411.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.837e-05/0.3151, allocations: 4 kB / 411.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.3152, allocations: 15.8 kB / 411.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.824e-05/0.3153, allocations: 27.78 kB / 411.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.3154, allocations: 23.97 kB / 411.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.3156, allocations: 111.6 kB / 411.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.3157, allocations: 41.38 kB / 411.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.054e-05/0.3158, allocations: 39.86 kB / 411.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.936e-05/0.3159, allocations: 43.78 kB / 411.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.3159, allocations: 8 kB / 411.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.686e-05/0.3159, allocations: 8 kB / 411.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.316, allocations: 19.92 kB / 411.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.453e-05/0.316, allocations: 51.73 kB / 412 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.3162, allocations: 103.4 kB / 412.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3162, allocations: 0 / 412.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3162, allocations: 4 kB / 412.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.3162, allocations: 0 / 412.1 MB, free: 14.72 MB / 334.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.0005457/0.3168, allocations: 400.6 kB / 412.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.3168, allocations: 8.031 kB / 412.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.3169, allocations: 16.84 kB / 412.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.3171, allocations: 200.1 kB / 412.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.3171, allocations: 8.562 kB / 412.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.3172, allocations: 8.375 kB / 412.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.3175, allocations: 122.3 kB / 412.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3175, allocations: 0 / 412.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.3175, allocations: 8 kB / 412.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3175, allocations: 0 / 412.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.3177, allocations: 79.88 kB / 412.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006661/0.3184, allocations: 0.5284 MB / 413.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.3186, allocations: 78.61 kB / 413.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.3187, allocations: 36.98 kB / 413.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.3188, allocations: 7.984 kB / 413.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/0.3188, allocations: 34.5 kB / 413.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.3188, allocations: 3.938 kB / 413.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003791/0.3192, allocations: 125.6 kB / 413.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.3192, allocations: 51.41 kB / 413.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.836e-05/0.3193, allocations: 129.7 kB / 413.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.3194, allocations: 25.7 kB / 413.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.108e-05/0.3194, allocations: 115.8 kB / 414 MB, free: 12.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.3195, allocations: 23.56 kB / 414 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.3195, allocations: 29.7 kB / 414.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3196, allocations: 330.8 kB / 414.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.69e-05/0.3197, allocations: 27.98 kB / 414.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.3198, allocations: 68.2 kB / 414.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.3201, allocations: 108.2 kB / 414.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3201, allocations: 0 / 414.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002823/0.3204, allocations: 133.4 kB / 414.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3204, allocations: 8.125 kB / 414.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3204, allocations: 0 / 414.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3204, allocations: 4 kB / 414.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.3206, allocations: 31.98 kB / 414.8 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.3206, allocations: 7.922 kB / 414.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.926e-05/0.3207, allocations: 11.91 kB / 414.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.3207, allocations: 4 kB / 414.8 MB, free: 11.72 MB / 334.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 0.0001535/0.3208, allocations: 129.7 kB / 414.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.3209, allocations: 8 kB / 414.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.3209, allocations: 12.36 kB / 414.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3209, allocations: 4 kB / 414.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3209, allocations: 0 / 414.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3209, allocations: 0 / 414.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.3211, allocations: 205.5 kB / 415.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3211, allocations: 0 / 415.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.3213, allocations: 19.98 kB / 415.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3213, allocations: 3.938 kB / 415.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3213, allocations: 96 / 415.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3213, allocations: 7.938 kB / 415.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3213, allocations: 4 kB / 415.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.3216, allocations: 231.3 kB / 415.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.3217, allocations: 81.02 kB / 415.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.3217, allocations: 7.984 kB / 415.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.61e-05/0.3218, allocations: 11.98 kB / 415.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.3219, allocations: 7.984 kB / 415.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.3219, allocations: 4 kB / 415.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.334e-05/0.3219, allocations: 98.22 kB / 415.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3219, allocations: 4 kB / 415.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.3222, allocations: 23.94 kB / 415.6 MB, free: 10.78 MB / 334.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 0.0001013/0.3223, allocations: 99.19 kB / 415.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.3225, allocations: 83.86 kB / 415.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3226, allocations: 4 kB / 415.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.318e-05/0.3227, allocations: 31.98 kB / 415.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.323, allocations: 19.92 kB / 415.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00063/0.3236, allocations: 360.4 kB / 416.2 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.3239, allocations: 0.7002 MB / 416.9 MB, free: 9.426 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.007e-05/0.324, allocations: 12.41 kB / 416.9 MB, free: 9.414 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.487e-05/0.324, allocations: 11.44 kB / 416.9 MB, free: 9.402 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.324, allocations: 4 kB / 417 MB, free: 9.398 MB / 334.1 MB Notification: Performance of Templates: time 0.003375/0.3274, allocations: 0.994 MB / 417.9 MB, free: 8.41 MB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches