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.001495/0.001495, allocations: 122.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001688/0.001688, allocations: 197.2 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.304, allocations: 50.54 MB / 409.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01327/0.3173, allocations: 7.996 MB / 417.3 MB, free: 9.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005846/0.3232, allocations: 2.622 MB / 419.9 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.3244, allocations: 23.94 kB / 419.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00224/0.3267, allocations: 0.5754 MB / 420.5 MB, free: 6.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002548/0.3292, allocations: 492.4 kB / 421 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009871/0.3303, allocations: 243.7 kB / 421.2 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00266/0.3329, allocations: 1.424 MB / 422.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.3343, allocations: 0.5846 MB / 423.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.3355, allocations: 0.5603 MB / 423.8 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.3368, allocations: 0.5755 MB / 424.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002611/0.3371, allocations: 136 kB / 424.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005056/0.3376, allocations: 176 kB / 424.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002928/0.3379, allocations: 278.9 kB / 424.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007898/0.3387, allocations: 0.6454 MB / 425.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002169/0.3409, allocations: 1.699 MB / 427.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3409, allocations: 0 / 427.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.047e-06/0.3409, allocations: 4 kB / 427.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.3409, allocations: 3.938 kB / 427.3 MB, free: 15.49 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.003006/0.3439, allocations: 1.425 MB / 428.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.344, allocations: 12.03 kB / 428.7 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007554/0.3448, allocations: 167.4 kB / 428.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.3464, allocations: 0.7301 MB / 429.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.291e-05/0.3465, allocations: 66 kB / 429.7 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.3467, allocations: 99.91 kB / 429.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/0.349, allocations: 0.9229 MB / 430.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.154e-05/0.349, allocations: 0 / 430.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.3492, allocations: 44 kB / 430.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/0.3492, allocations: 24 kB / 430.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.351, allocations: 0.6246 MB / 431.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006679/0.3576, allocations: 3.881 MB / 435.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007696/0.3584, allocations: 351.2 kB / 435.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003965/0.3588, allocations: 148.8 kB / 435.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.89e-05/0.3589, allocations: 7.938 kB / 435.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.3589, allocations: 34.56 kB / 435.8 MB, free: 6.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.465e-06/0.359, allocations: 0 / 435.8 MB, free: 6.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.003071/0.362, allocations: 1.191 MB / 437 MB, free: 5.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.3621, allocations: 85.05 kB / 437.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.3636, allocations: 0.8213 MB / 437.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.3637, allocations: 29.7 kB / 437.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006728/0.3644, allocations: 0.5718 MB / 438.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.3645, allocations: 134.2 kB / 438.6 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.3648, allocations: 126.5 kB / 438.7 MB, free: 3.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.365, allocations: 330 kB / 439.1 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004379/0.3654, allocations: 149.9 kB / 439.2 MB, free: 3.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007205/0.3661, allocations: 456 kB / 439.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.3674, allocations: 0.6396 MB / 440.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.3674, allocations: 4 kB / 440.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001767/0.3692, allocations: 0.6849 MB / 441 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.3693, allocations: 15.94 kB / 441 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.3693, allocations: 11.98 kB / 441 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002174/0.3695, allocations: 40.78 kB / 441 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007316/0.3703, allocations: 151.8 kB / 441.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.3718, allocations: 1.398 MB / 442.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007363/0.3726, allocations: 36.14 kB / 442.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/0.3726, allocations: 32 kB / 442.7 MB, free: 15.12 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.0005025/0.3731, allocations: 261.5 kB / 442.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.3733, allocations: 86.91 kB / 443 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.3744, allocations: 378.1 kB / 443.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.3744, allocations: 4 kB / 443.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.3744, allocations: 4 kB / 443.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.3744, allocations: 7.922 kB / 443.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00255/0.377, allocations: 1.266 MB / 444.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.377, allocations: 3.984 kB / 444.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000461/0.3775, allocations: 71.84 kB / 444.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001128/0.3776, allocations: 24.84 kB / 444.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.3777, allocations: 12.22 kB / 444.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.3789, allocations: 1.371 MB / 446.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3789, allocations: 0 / 446.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.3803, allocations: 0.6247 MB / 446.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003443/0.3807, allocations: 184.2 kB / 446.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.3808, allocations: 8 kB / 446.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005767/0.3814, allocations: 27.92 kB / 447 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.942e-05/0.3815, allocations: 31.95 kB / 447 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.3816, allocations: 11.94 kB / 447 MB, free: 10.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001084/0.3827, allocations: 0.5615 MB / 447.6 MB, free: 9.898 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3827, allocations: 0 / 447.6 MB, free: 9.898 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001257/0.3839, allocations: 188 kB / 447.8 MB, free: 9.715 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.0002451/0.3842, allocations: 126.5 kB / 447.9 MB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.3855, allocations: 0.5236 MB / 448.4 MB, free: 9.047 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3855, allocations: 0 / 448.4 MB, free: 9.047 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004146/0.3859, allocations: 263.3 kB / 448.7 MB, free: 8.777 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000969/0.3869, allocations: 214.7 kB / 448.9 MB, free: 8.574 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002622/0.3895, allocations: 1.679 MB / 450.5 MB, free: 6.844 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000577/0.3901, allocations: 0.9961 MB / 451.5 MB, free: 5.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002966/0.3904, allocations: 102.9 kB / 451.6 MB, free: 5.715 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.3905, allocations: 51.44 kB / 451.7 MB, free: 5.664 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.3905, allocations: 0 / 451.7 MB, free: 5.664 MB / 366.1 MB Notification: Performance of Templates: time 0.01791/0.4084, allocations: 9.674 MB / 461.4 MB, free: 12.1 MB / 382.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