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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001207/0.001207, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 59.89 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2697, allocations: 50.54 MB / 408.8 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008749/0.2786, allocations: 8.002 MB / 416.8 MB, free: 9.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004634/0.2832, allocations: 2.637 MB / 419.4 MB, free: 7.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009847/0.2843, allocations: 23.94 kB / 419.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.2858, allocations: 0.5403 MB / 420 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.287, allocations: 456.4 kB / 420.4 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.2875, allocations: 235.7 kB / 420.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.2889, allocations: 1.428 MB / 422.1 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000772/0.2897, allocations: 0.5885 MB / 422.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000779/0.2905, allocations: 0.5486 MB / 423.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000586/0.2911, allocations: 0.5872 MB / 423.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.2912, allocations: 132 kB / 423.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000321/0.2916, allocations: 172 kB / 424.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.2918, allocations: 278.9 kB / 424.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005995/0.2924, allocations: 0.6454 MB / 425 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.2941, allocations: 1.697 MB / 426.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2941, allocations: 4 kB / 426.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2941, allocations: 0 / 426.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.953e-05/0.2942, allocations: 0 / 426.7 MB, free: 15.64 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.002426/0.2966, allocations: 1.433 MB / 428.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.2966, allocations: 12.03 kB / 428.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001796/0.2968, allocations: 148.3 kB / 428.3 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005645/0.2974, allocations: 171.4 kB / 428.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.2987, allocations: 0.722 MB / 429.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.927e-05/0.2987, allocations: 73.94 kB / 429.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.2989, allocations: 96 kB / 429.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.3003, allocations: 0.9229 MB / 430.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.3004, allocations: 0 / 430.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-05/0.3005, allocations: 44 kB / 430.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/0.3005, allocations: 24 kB / 430.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.3016, allocations: 0.6324 MB / 431 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004826/0.3065, allocations: 3.874 MB / 434.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005971/0.3071, allocations: 351.6 kB / 435.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002807/0.3074, allocations: 148.8 kB / 435.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.3074, allocations: 0 / 435.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.3075, allocations: 42.5 kB / 435.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.222e-06/0.3075, allocations: 0 / 435.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002393/0.3099, allocations: 1.191 MB / 436.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.3099, allocations: 81.11 kB / 436.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.311, allocations: 0.8252 MB / 437.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.311, allocations: 33.7 kB / 437.5 MB, free: 4.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003753/0.3114, allocations: 0.564 MB / 438.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.365e-05/0.3115, allocations: 134.2 kB / 438.2 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.3117, allocations: 126.5 kB / 438.3 MB, free: 3.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3118, allocations: 333.9 kB / 438.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.3121, allocations: 145.9 kB / 438.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005142/0.3127, allocations: 468 kB / 439.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007947/0.3135, allocations: 0.6281 MB / 439.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.3135, allocations: 4 kB / 439.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00114/0.3146, allocations: 0.6884 MB / 440.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.3147, allocations: 12 kB / 440.6 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.3147, allocations: 8 kB / 440.6 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001609/0.3148, allocations: 36.84 kB / 440.6 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/0.3153, allocations: 155.7 kB / 440.8 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.3163, allocations: 1.402 MB / 442.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000477/0.3168, allocations: 32.14 kB / 442.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/0.3169, allocations: 36 kB / 442.2 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.0003521/0.3172, allocations: 261.5 kB / 442.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.3174, allocations: 86.91 kB / 442.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007126/0.3181, allocations: 378.1 kB / 443 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.3181, allocations: 4 kB / 443 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.3181, allocations: 3.938 kB / 443 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3181, allocations: 3.984 kB / 443 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.3199, allocations: 1.27 MB / 444.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.3199, allocations: 7.875 kB / 444.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.3202, allocations: 67.91 kB / 444.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.189e-05/0.3203, allocations: 29.06 kB / 444.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.3204, allocations: 8 kB / 444.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009819/0.3214, allocations: 1.371 MB / 445.7 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3214, allocations: 0 / 445.7 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009853/0.3224, allocations: 0.6248 MB / 446.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.3226, allocations: 188.1 kB / 446.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.962e-05/0.3227, allocations: 12 kB / 446.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003587/0.3231, allocations: 27.91 kB / 446.6 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.809e-05/0.3231, allocations: 27.91 kB / 446.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.3232, allocations: 12 kB / 446.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007322/0.3239, allocations: 0.5615 MB / 447.2 MB, free: 9.895 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3239, allocations: 0 / 447.2 MB, free: 9.895 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007439/0.3247, allocations: 192 kB / 447.4 MB, free: 9.707 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.001393/0.3261, allocations: 1.203 MB / 448.6 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009473/0.327, allocations: 0.5032 MB / 449.1 MB, free: 7.934 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.327, allocations: 4 kB / 449.1 MB, free: 7.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003798/0.3274, allocations: 264.5 kB / 449.3 MB, free: 7.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009807/0.3284, allocations: 206.6 kB / 449.5 MB, free: 7.465 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009451/0.3379, allocations: 7.076 MB / 456.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005861/0.3385, allocations: 0.9961 MB / 457.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003938/0.3389, allocations: 102.9 kB / 457.7 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/0.3393, allocations: 367.3 kB / 458.1 MB, free: 14.45 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3394, allocations: 4 kB / 458.1 MB, free: 14.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0471/0.3865, allocations: 18.17 MB / 476.2 MB, free: 12.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.48, allocations: 6.531 kB / 476.2 MB, free: 12.53 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/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