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.0009964/0.0009963, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001065/0.001065, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 63.91 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2686, allocations: 50.54 MB / 409.2 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.00892/0.2776, allocations: 8.004 MB / 417.3 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004425/0.2821, allocations: 2.634 MB / 419.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009328/0.283, allocations: 23.94 kB / 419.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.2846, allocations: 0.5403 MB / 420.5 MB, free: 6.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.2859, allocations: 456.4 kB / 420.9 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.2864, allocations: 239.7 kB / 421.1 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001501/0.2879, allocations: 1.432 MB / 422.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000781/0.2887, allocations: 0.5846 MB / 423.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007635/0.2895, allocations: 0.5525 MB / 423.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006226/0.2901, allocations: 0.5833 MB / 424.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.2902, allocations: 136 kB / 424.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003328/0.2906, allocations: 172 kB / 424.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.2908, allocations: 279 kB / 424.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005387/0.2913, allocations: 0.6454 MB / 425.5 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.293, allocations: 1.699 MB / 427.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.293, allocations: 0 / 427.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.293, allocations: 0 / 427.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.293, allocations: 0 / 427.2 MB, free: 15.54 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.002265/0.2953, allocations: 1.429 MB / 428.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.2954, allocations: 16.02 kB / 428.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006132/0.296, allocations: 171.4 kB / 428.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.2972, allocations: 0.7184 MB / 429.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.2973, allocations: 77.94 kB / 429.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.2974, allocations: 99.84 kB / 429.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.2989, allocations: 0.9229 MB / 430.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.2989, allocations: 4 kB / 430.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.317e-05/0.299, allocations: 40 kB / 430.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.299, allocations: 24 kB / 430.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.3002, allocations: 0.6285 MB / 431.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004981/0.3051, allocations: 3.87 MB / 435.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.3057, allocations: 355.6 kB / 435.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.306, allocations: 144.8 kB / 435.7 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.306, allocations: 4 kB / 435.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.3061, allocations: 34.56 kB / 435.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.743e-06/0.3061, allocations: 0 / 435.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002287/0.3084, allocations: 1.191 MB / 436.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.3084, allocations: 81.11 kB / 437 MB, free: 5.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.3095, allocations: 0.8291 MB / 437.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.3095, allocations: 37.7 kB / 437.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000363/0.3099, allocations: 0.564 MB / 438.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.217e-05/0.31, allocations: 130.2 kB / 438.5 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.3101, allocations: 126.5 kB / 438.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3103, allocations: 330 kB / 439 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.3106, allocations: 145.9 kB / 439.1 MB, free: 3.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004784/0.311, allocations: 468 kB / 439.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000797/0.3119, allocations: 0.6435 MB / 440.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3119, allocations: 0 / 440.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001135/0.313, allocations: 0.6887 MB / 440.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.313, allocations: 8 kB / 440.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.3131, allocations: 12 kB / 440.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/0.3132, allocations: 28.84 kB / 441 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.3137, allocations: 164 kB / 441.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.3148, allocations: 1.402 MB / 442.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/0.3153, allocations: 35.98 kB / 442.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.3153, allocations: 32 kB / 442.6 MB, free: 15.16 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.0003721/0.3157, allocations: 257.1 kB / 442.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.3158, allocations: 86.91 kB / 442.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007281/0.3165, allocations: 378.2 kB / 443.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3166, allocations: 4 kB / 443.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.3166, allocations: 0 / 443.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3166, allocations: 3.984 kB / 443.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.3183, allocations: 1.266 MB / 444.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3183, allocations: 3.938 kB / 444.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002993/0.3186, allocations: 76.06 kB / 444.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.774e-05/0.3187, allocations: 28.84 kB / 444.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.3187, allocations: 8 kB / 444.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008387/0.3196, allocations: 1.375 MB / 446.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3196, allocations: 4.031 kB / 446.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008964/0.3205, allocations: 0.6169 MB / 446.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.3207, allocations: 192.2 kB / 446.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-05/0.3208, allocations: 8 kB / 446.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.3212, allocations: 27.91 kB / 446.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.3212, allocations: 28 kB / 446.9 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.3213, allocations: 16 kB / 447 MB, free: 10.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000674/0.3219, allocations: 0.5576 MB / 447.5 MB, free: 9.949 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.322, allocations: 4 kB / 447.5 MB, free: 9.945 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006761/0.3226, allocations: 188 kB / 447.7 MB, free: 9.762 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.0002003/0.3228, allocations: 123.1 kB / 447.8 MB, free: 9.629 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009038/0.3238, allocations: 0.5202 MB / 448.3 MB, free: 9.098 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3238, allocations: 8.062 kB / 448.3 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003955/0.3242, allocations: 262.5 kB / 448.6 MB, free: 8.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009346/0.3251, allocations: 211.2 kB / 448.8 MB, free: 8.621 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.3276, allocations: 1.683 MB / 450.5 MB, free: 6.887 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.3282, allocations: 0.9961 MB / 451.5 MB, free: 5.863 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003156/0.3285, allocations: 106.9 kB / 451.6 MB, free: 5.754 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.3286, allocations: 59.38 kB / 451.6 MB, free: 5.695 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.3286, allocations: 0 / 451.6 MB, free: 5.695 MB / 366.1 MB Notification: Performance of Templates: time 0.0174/0.346, allocations: 9.675 MB / 461.3 MB, free: 12.13 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