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.001409/0.001409, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001527/0.001527, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 56.12 kB / 307 MB, free: 0.5977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1067, allocations: 50.54 MB / 357.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01082/0.1175, allocations: 7.995 MB / 365.5 MB, free: 6.004 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005123/0.1227, allocations: 2.634 MB / 368.2 MB, free: 3.363 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.124, allocations: 23.94 kB / 368.2 MB, free: 3.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.1261, allocations: 0.5442 MB / 368.7 MB, free: 2.793 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.1278, allocations: 460.4 kB / 369.2 MB, free: 2.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.1283, allocations: 239.7 kB / 369.4 MB, free: 2.105 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001854/0.1302, allocations: 1.424 MB / 370.8 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008634/0.1311, allocations: 0.5846 MB / 371.4 MB, free: 72 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1691/0.3002, allocations: 0.5338 MB / 372 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008699/0.3011, allocations: 0.5756 MB / 372.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002435/0.3013, allocations: 136 kB / 372.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004184/0.3018, allocations: 176.9 kB / 372.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.302, allocations: 279.3 kB / 373.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006478/0.3026, allocations: 0.6501 MB / 373.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002278/0.3049, allocations: 1.675 MB / 375.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3049, allocations: 2.25 kB / 375.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3049, allocations: 0 / 375.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.853e-05/0.305, allocations: 0 / 375.4 MB, free: 10.4 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.002629/0.3076, allocations: 1.426 MB / 376.9 MB, free: 9.637 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.3077, allocations: 9.625 kB / 376.9 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000583/0.3083, allocations: 169.1 kB / 377 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.3094, allocations: 0.7204 MB / 377.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/0.3094, allocations: 69.09 kB / 377.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.3096, allocations: 99.48 kB / 377.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.311, allocations: 0.9234 MB / 378.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/0.3111, allocations: 4.469 kB / 378.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.262e-05/0.3112, allocations: 39.12 kB / 378.9 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.3112, allocations: 24.16 kB / 378.9 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.3124, allocations: 0.6225 MB / 379.5 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004799/0.3172, allocations: 3.92 MB / 383.5 MB, free: 6.512 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005187/0.3178, allocations: 356.3 kB / 383.8 MB, free: 6.301 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.318, allocations: 143.2 kB / 383.9 MB, free: 6.246 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.3181, allocations: 5.453 kB / 383.9 MB, free: 6.246 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.3181, allocations: 39.73 kB / 384 MB, free: 6.203 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.794e-06/0.3181, allocations: 0 / 384 MB, free: 6.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.00241/0.3205, allocations: 1.2 MB / 385.2 MB, free: 5.414 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.3206, allocations: 80.45 kB / 385.3 MB, free: 5.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.322, allocations: 0.8206 MB / 386.1 MB, free: 4.965 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.322, allocations: 34.36 kB / 386.1 MB, free: 4.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.3224, allocations: 0.5706 MB / 386.7 MB, free: 4.477 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.412e-05/0.3225, allocations: 131.6 kB / 386.8 MB, free: 4.379 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.3226, allocations: 119.8 kB / 386.9 MB, free: 4.309 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7e-05/0.3227, allocations: 338.9 kB / 387.3 MB, free: 3.988 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/0.323, allocations: 146.1 kB / 387.4 MB, free: 3.938 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/0.3234, allocations: 458.8 kB / 387.9 MB, free: 3.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007963/0.3243, allocations: 0.6336 MB / 388.5 MB, free: 2.957 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.443e-06/0.3243, allocations: 8.125 kB / 388.5 MB, free: 2.957 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001153/0.3254, allocations: 0.6932 MB / 389.2 MB, free: 2.707 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3255, allocations: 9.438 kB / 389.2 MB, free: 2.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.3255, allocations: 18.38 kB / 389.2 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/0.3257, allocations: 35.64 kB / 389.2 MB, free: 2.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004795/0.3261, allocations: 154.5 kB / 389.4 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007626/0.3269, allocations: 1.396 MB / 390.8 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006636/0.3276, allocations: 38.61 kB / 390.8 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/0.3276, allocations: 32.41 kB / 390.9 MB, free: 1.266 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.000363/0.328, allocations: 253.7 kB / 391.1 MB, free: 1.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.3282, allocations: 83.41 kB / 391.2 MB, free: 1.027 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006703/0.3288, allocations: 382.8 kB / 391.6 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.3289, allocations: 7.938 kB / 391.6 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3289, allocations: 1.406 kB / 391.6 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3289, allocations: 1.781 kB / 391.6 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.3307, allocations: 1.267 MB / 392.8 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3307, allocations: 2.219 kB / 392.8 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/0.331, allocations: 72.41 kB / 392.9 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-05/0.3311, allocations: 28.33 kB / 392.9 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.3311, allocations: 16.19 kB / 393 MB, free: 104 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/0.3323, allocations: 1.367 MB / 394.3 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3323, allocations: 4.734 kB / 394.3 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.3334, allocations: 0.6307 MB / 395 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/0.3338, allocations: 188.5 kB / 395.1 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.3339, allocations: 8.531 kB / 395.2 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.3343, allocations: 28.02 kB / 395.2 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.3344, allocations: 32.97 kB / 395.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.3344, allocations: 8.5 kB / 395.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008742/0.3353, allocations: 0.5619 MB / 395.8 MB, free: 13.89 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3353, allocations: 3.938 kB / 395.8 MB, free: 13.89 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009317/0.3362, allocations: 189.6 kB / 396 MB, free: 13.88 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.0002631/0.3365, allocations: 122.1 kB / 396.1 MB, free: 13.78 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.3378, allocations: 0.5274 MB / 396.6 MB, free: 13.55 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3378, allocations: 0 / 396.6 MB, free: 13.55 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005169/0.3383, allocations: 258.3 kB / 396.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.3395, allocations: 219.9 kB / 397.1 MB, free: 13.33 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.3426, allocations: 1.712 MB / 398.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007175/0.3433, allocations: 0.9969 MB / 399.8 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004713/0.3438, allocations: 105.4 kB / 399.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.3439, allocations: 55.81 kB / 400 MB, free: 11.33 MB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.344, allocations: 0 / 400 MB, free: 11.33 MB / 318.1 MB Notification: Performance of Templates: time 0.02018/0.3641, allocations: 9.486 MB / 409.4 MB, free: 4.469 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.1.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