Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00147/0.00147, allocations: 105.6 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001593/0.001593, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246.4 MB, free: 9.086 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 60.66 kB / 306.4 MB, free: 0.7148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1016, allocations: 50.54 MB / 357 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008749/0.1104, allocations: 7.959 MB / 364.9 MB, free: 6.168 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004214/0.1146, allocations: 2.595 MB / 367.5 MB, free: 3.566 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007796/0.1154, allocations: 23.94 kB / 367.6 MB, free: 3.543 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.1169, allocations: 0.4981 MB / 368.1 MB, free: 3.043 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.118, allocations: 393.2 kB / 368.4 MB, free: 2.656 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004152/0.1184, allocations: 207.9 kB / 368.6 MB, free: 2.453 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001396/0.1198, allocations: 1.436 MB / 370.1 MB, free: 1.012 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007414/0.1205, allocations: 0.5846 MB / 370.7 MB, free: 416 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2133/0.3339, allocations: 0.5372 MB / 371.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.335, allocations: 0.5796 MB / 371.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00032/0.3354, allocations: 136.1 kB / 371.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004774/0.3359, allocations: 174.1 kB / 372.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.3361, allocations: 271.8 kB / 372.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000639/0.3368, allocations: 0.654 MB / 373 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002109/0.3389, allocations: 1.673 MB / 374.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3389, allocations: 0.5156 kB / 374.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3389, allocations: 3.469 kB / 374.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.969e-05/0.3389, allocations: 1.062 kB / 374.7 MB, free: 10.35 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002484/0.3414, allocations: 1.425 MB / 376.1 MB, free: 9.582 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.3415, allocations: 9.297 kB / 376.1 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006015/0.3421, allocations: 175.2 kB / 376.3 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.3432, allocations: 0.7204 MB / 377 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/0.3433, allocations: 69.62 kB / 377.1 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.3434, allocations: 95.06 kB / 377.2 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.3451, allocations: 0.9242 MB / 378.1 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/0.3451, allocations: 2.469 kB / 378.1 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.852e-05/0.3452, allocations: 40.91 kB / 378.1 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.098e-05/0.3453, allocations: 27.12 kB / 378.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.3465, allocations: 0.6236 MB / 378.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004986/0.3515, allocations: 3.908 MB / 382.7 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005334/0.352, allocations: 355.4 kB / 383 MB, free: 6.332 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.3523, allocations: 144.5 kB / 383.2 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.3524, allocations: 4.094 kB / 383.2 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.3524, allocations: 41.28 kB / 383.2 MB, free: 6.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.705e-06/0.3524, allocations: 0 / 383.2 MB, free: 6.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002372/0.3548, allocations: 1.198 MB / 384.4 MB, free: 5.445 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.3548, allocations: 82.67 kB / 384.5 MB, free: 5.352 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.3561, allocations: 0.8199 MB / 385.3 MB, free: 4.996 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.3561, allocations: 31.05 kB / 385.4 MB, free: 4.961 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003586/0.3565, allocations: 0.5647 MB / 385.9 MB, free: 4.512 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.3566, allocations: 130.1 kB / 386 MB, free: 4.414 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.3568, allocations: 128.3 kB / 386.2 MB, free: 4.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.279e-05/0.3569, allocations: 337.4 kB / 386.5 MB, free: 4.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.3572, allocations: 151.2 kB / 386.7 MB, free: 3.969 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.3575, allocations: 460.5 kB / 387.1 MB, free: 3.512 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006835/0.3582, allocations: 0.6294 MB / 387.7 MB, free: 2.992 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.3583, allocations: 6.719 kB / 387.7 MB, free: 2.992 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001123/0.3594, allocations: 0.6987 MB / 388.4 MB, free: 2.738 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.3594, allocations: 9.812 kB / 388.4 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.3594, allocations: 10.75 kB / 388.5 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001572/0.3596, allocations: 41.06 kB / 388.5 MB, free: 2.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005101/0.3601, allocations: 154.8 kB / 388.6 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000796/0.3609, allocations: 1.393 MB / 390 MB, free: 1.316 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006079/0.3615, allocations: 35.09 kB / 390.1 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/0.3616, allocations: 37.19 kB / 390.1 MB, free: 1.297 MB / 302.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.0003674/0.362, allocations: 255.9 kB / 390.4 MB, free: 1.102 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.3621, allocations: 84.78 kB / 390.4 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006924/0.3628, allocations: 371.9 kB / 390.8 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3628, allocations: 7.531 kB / 390.8 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3628, allocations: 1.156 kB / 390.8 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3628, allocations: 3.469 kB / 390.8 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.3648, allocations: 1.27 MB / 392.1 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.3648, allocations: 6.406 kB / 392.1 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/0.3651, allocations: 69.33 kB / 392.2 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.711e-05/0.3652, allocations: 27.72 kB / 392.2 MB, free: 148 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.3652, allocations: 12.94 kB / 392.2 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.3663, allocations: 1.374 MB / 393.6 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.3663, allocations: 6.203 kB / 393.6 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.3674, allocations: 0.6274 MB / 394.2 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/0.3678, allocations: 194.4 kB / 394.4 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.3679, allocations: 8.188 kB / 394.4 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/0.3683, allocations: 21.09 kB / 394.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.748e-05/0.3684, allocations: 33.38 kB / 394.5 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.3684, allocations: 13.22 kB / 394.5 MB, free: 14.17 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008448/0.3693, allocations: 0.5572 MB / 395 MB, free: 13.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3693, allocations: 4 kB / 395 MB, free: 13.92 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008832/0.3702, allocations: 189.3 kB / 395.2 MB, free: 13.91 MB / 318.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.0002547/0.3705, allocations: 122.1 kB / 395.3 MB, free: 13.81 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.3716, allocations: 0.5255 MB / 395.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3716, allocations: 9.25 kB / 395.9 MB, free: 13.58 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004114/0.372, allocations: 256.8 kB / 396.1 MB, free: 13.44 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.3731, allocations: 216.1 kB / 396.3 MB, free: 13.37 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.3767, allocations: 2.104 MB / 398.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007227/0.3774, allocations: 0.9954 MB / 399.4 MB, free: 11.03 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004891/0.3779, allocations: 106 kB / 399.5 MB, free: 10.97 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.3781, allocations: 53.09 kB / 399.6 MB, free: 10.96 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3781, allocations: 1.312 kB / 399.6 MB, free: 10.96 MB / 318.1 MB Notification: Performance of Templates: time 0.02125/0.3993, allocations: 9.404 MB / 409 MB, free: 4.641 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches