Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 114 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001346, allocations: 205.2 kB / 18.78 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.426/1.426, allocations: 230.4 MB / 250 MB, free: 9.094 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 67.83 kB / 367.4 MB, free: 7.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2794, allocations: 53.31 MB / 420.7 MB, free: 8.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01049/0.2899, allocations: 8.031 MB / 428.7 MB, free: 288 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005079/0.295, allocations: 2.633 MB / 431.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007826/0.2957, allocations: 23.94 kB / 431.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001519/0.2973, allocations: 0.5754 MB / 431.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.2984, allocations: 0.4886 MB / 432.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.2988, allocations: 227.8 kB / 432.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001538/0.3003, allocations: 1.432 MB / 434.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006333/0.301, allocations: 398.8 kB / 434.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007739/0.3017, allocations: 0.5564 MB / 435 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000686/0.3024, allocations: 0.5794 MB / 435.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.3026, allocations: 140 kB / 435.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003261/0.3029, allocations: 172 kB / 435.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.3032, allocations: 271 kB / 436.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006608/0.3038, allocations: 0.6532 MB / 436.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001995/0.3058, allocations: 1.704 MB / 438.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3058, allocations: 0 / 438.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3058, allocations: 0 / 438.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.3058, allocations: 0 / 438.5 MB, free: 6.395 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002468/0.3083, allocations: 1.467 MB / 440 MB, free: 4.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.3084, allocations: 8.031 kB / 440 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006545/0.309, allocations: 180 kB / 440.2 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.3102, allocations: 0.7268 MB / 440.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.254e-05/0.3103, allocations: 74 kB / 441 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.3104, allocations: 99.95 kB / 441.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.3121, allocations: 0.9152 MB / 442 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.3121, allocations: 7.938 kB / 442 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.567e-05/0.3122, allocations: 44 kB / 442 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.3123, allocations: 20 kB / 442.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.3136, allocations: 0.6246 MB / 442.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005565/0.3191, allocations: 3.883 MB / 446.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006727/0.3198, allocations: 350.5 kB / 446.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/0.3201, allocations: 139.3 kB / 447 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.3201, allocations: 4 kB / 447 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.3202, allocations: 34.56 kB / 447.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.474e-06/0.3202, allocations: 4 kB / 447.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002552/0.3227, allocations: 1.22 MB / 448.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/0.3228, allocations: 81.11 kB / 448.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.324, allocations: 0.8215 MB / 449.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.324, allocations: 29.7 kB / 449.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004864/0.3245, allocations: 0.5812 MB / 449.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.3246, allocations: 138.9 kB / 449.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.3248, allocations: 122.6 kB / 450.1 MB, free: 10.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.325, allocations: 333.9 kB / 450.4 MB, free: 10 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.3253, allocations: 153.9 kB / 450.5 MB, free: 9.852 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005813/0.3259, allocations: 455.9 kB / 451 MB, free: 9.262 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009201/0.3268, allocations: 0.6398 MB / 451.6 MB, free: 8.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.3268, allocations: 4 kB / 451.6 MB, free: 8.477 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001264/0.328, allocations: 0.6846 MB / 452.3 MB, free: 7.781 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.3281, allocations: 12 kB / 452.3 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.3281, allocations: 8.656 kB / 452.3 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001755/0.3283, allocations: 40.84 kB / 452.4 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.3288, allocations: 155.7 kB / 452.5 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.33, allocations: 1.398 MB / 453.9 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005297/0.3306, allocations: 31.98 kB / 454 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/0.3306, allocations: 35.94 kB / 454 MB, free: 5.957 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000405/0.331, allocations: 261.6 kB / 454.2 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.3311, allocations: 91.38 kB / 454.3 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007851/0.3319, allocations: 370.1 kB / 454.7 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.3319, allocations: 8.031 kB / 454.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3319, allocations: 4 kB / 454.7 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.3319, allocations: 7.922 kB / 454.7 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.334, allocations: 1.27 MB / 456 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.334, allocations: 4 kB / 456 MB, free: 3.855 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003358/0.3343, allocations: 71.84 kB / 456.1 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.175e-05/0.3344, allocations: 24.84 kB / 456.1 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.3344, allocations: 8 kB / 456.1 MB, free: 3.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.3356, allocations: 1.375 MB / 457.5 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.3356, allocations: 7.969 kB / 457.5 MB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.3366, allocations: 0.6329 MB / 458.1 MB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002872/0.3369, allocations: 192.5 kB / 458.3 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.055e-05/0.337, allocations: 8 kB / 458.3 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.3374, allocations: 31.91 kB / 458.3 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.253e-05/0.3375, allocations: 31.97 kB / 458.4 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.3375, allocations: 8 kB / 458.4 MB, free: 1.266 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008167/0.3383, allocations: 0.5576 MB / 458.9 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3383, allocations: 4 kB / 458.9 MB, free: 0.707 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007364/0.3391, allocations: 188 kB / 459.1 MB, free: 0.5234 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.phi) * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002401/0.3393, allocations: 127.2 kB / 459.2 MB, free: 396 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.3403, allocations: 0.4916 MB / 459.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3403, allocations: 0 / 459.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004298/0.3408, allocations: 256.1 kB / 460 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009866/0.3417, allocations: 218.3 kB / 460.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.3446, allocations: 1.719 MB / 461.9 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/0.3453, allocations: 0.9923 MB / 462.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003519/0.3456, allocations: 102.9 kB / 463 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.3458, allocations: 51.44 kB / 463.1 MB, free: 12.46 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3458, allocations: 0 / 463.1 MB, free: 12.46 MB / 382.1 MB Notification: Performance of Templates: time 0.02041/0.3662, allocations: 9.79 MB / 472.9 MB, free: 2.789 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches