Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 113.2 kB / 17.06 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 200 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009353/0.0009353, allocations: 51.92 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2872, allocations: 49.44 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008925/0.2962, allocations: 7.975 MB / 408.7 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004736/0.301, allocations: 2.606 MB / 411.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007803/0.3018, allocations: 23.94 kB / 411.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.3034, allocations: 0.5638 MB / 411.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000995/0.3044, allocations: 492.4 kB / 412.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004139/0.3048, allocations: 243.6 kB / 412.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.306, allocations: 1.424 MB / 414 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007252/0.3068, allocations: 0.5885 MB / 414.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005859/0.3074, allocations: 0.5447 MB / 415.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005595/0.3079, allocations: 0.5794 MB / 415.8 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.3081, allocations: 136 kB / 415.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002787/0.3084, allocations: 180 kB / 416.1 MB, free: 9.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.3086, allocations: 275 kB / 416.3 MB, free: 9.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005313/0.3091, allocations: 0.6414 MB / 417 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.3106, allocations: 1.697 MB / 418.7 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3106, allocations: 4 kB / 418.7 MB, free: 6.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3107, allocations: 0 / 418.7 MB, free: 6.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.3107, allocations: 0 / 418.7 MB, free: 6.82 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002341/0.313, allocations: 1.436 MB / 420.1 MB, free: 5.336 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3131, allocations: 12.02 kB / 420.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005202/0.3136, allocations: 167.4 kB / 420.3 MB, free: 5.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.3149, allocations: 0.7223 MB / 421 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.335e-05/0.315, allocations: 74 kB / 421.1 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.3151, allocations: 95.91 kB / 421.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.3165, allocations: 0.9229 MB / 422.1 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.3166, allocations: 4 kB / 422.1 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-05/0.3167, allocations: 40 kB / 422.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.3167, allocations: 27.98 kB / 422.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.3179, allocations: 0.6285 MB / 422.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004992/0.3229, allocations: 3.866 MB / 426.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005883/0.3235, allocations: 363.6 kB / 427 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/0.3238, allocations: 148.8 kB / 427.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.3238, allocations: 4 kB / 427.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.3238, allocations: 34.56 kB / 427.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 3.556e-06/0.3239, allocations: 0 / 427.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002299/0.3262, allocations: 1.199 MB / 428.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/0.3262, allocations: 81.11 kB / 428.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.3273, allocations: 0.8291 MB / 429.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.3274, allocations: 33.7 kB / 429.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004062/0.3278, allocations: 0.5679 MB / 429.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.593e-05/0.3279, allocations: 134.1 kB / 430 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.328, allocations: 126.5 kB / 430.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3282, allocations: 330 kB / 430.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.3285, allocations: 145.9 kB / 430.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000502/0.329, allocations: 464 kB / 431.1 MB, free: 9.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008421/0.3298, allocations: 0.644 MB / 431.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3299, allocations: 0 / 431.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001113/0.331, allocations: 0.6923 MB / 432.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.331, allocations: 8 kB / 432.4 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.331, allocations: 12 kB / 432.4 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001582/0.3312, allocations: 28.84 kB / 432.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.3317, allocations: 163.7 kB / 432.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.3327, allocations: 1.39 MB / 434 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/0.3332, allocations: 36.14 kB / 434.1 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/0.3332, allocations: 36 kB / 434.1 MB, free: 6.438 MB / 350.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.0003247/0.3335, allocations: 257.5 kB / 434.3 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.3337, allocations: 86.91 kB / 434.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006834/0.3344, allocations: 378.4 kB / 434.8 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3344, allocations: 4 kB / 434.8 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3344, allocations: 0 / 434.8 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3344, allocations: 3.984 kB / 434.8 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.3361, allocations: 1.263 MB / 436.1 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.3361, allocations: 4 kB / 436.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002993/0.3364, allocations: 71.84 kB / 436.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.557e-05/0.3365, allocations: 29.06 kB / 436.2 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.3365, allocations: 8 kB / 436.2 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009786/0.3375, allocations: 1.375 MB / 437.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3375, allocations: 4.031 kB / 437.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.3386, allocations: 0.6317 MB / 438.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/0.3388, allocations: 188.2 kB / 438.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.813e-05/0.3389, allocations: 12 kB / 438.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.3393, allocations: 31.84 kB / 438.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.812e-05/0.3394, allocations: 31.91 kB / 438.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.3394, allocations: 12 kB / 438.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007398/0.3401, allocations: 0.5576 MB / 439 MB, free: 1.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3401, allocations: 0 / 439 MB, free: 1.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006603/0.3408, allocations: 192 kB / 439.2 MB, free: 1.02 MB / 350.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.0001988/0.341, allocations: 119.1 kB / 439.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008733/0.3419, allocations: 0.5123 MB / 439.8 MB, free: 376 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3419, allocations: 4 kB / 439.8 MB, free: 372 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000385/0.3423, allocations: 270.4 kB / 440.1 MB, free: 88 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009936/0.3433, allocations: 218.9 kB / 440.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.3459, allocations: 1.679 MB / 442 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005487/0.3465, allocations: 0.9962 MB / 443 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003251/0.3468, allocations: 98.88 kB / 443.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.347, allocations: 55.44 kB / 443.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.347, allocations: 0 / 443.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of Templates: time 0.01933/0.3663, allocations: 9.649 MB / 452.8 MB, free: 3.449 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches