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.001296/0.001296, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001311/0.001312, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 63.91 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2718, allocations: 50.54 MB / 408.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009934/0.2818, allocations: 7.999 MB / 416.8 MB, free: 9.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005402/0.2872, allocations: 2.633 MB / 419.5 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009656/0.2882, allocations: 23.94 kB / 419.5 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.2898, allocations: 0.5403 MB / 420 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.2911, allocations: 460.4 kB / 420.5 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.2916, allocations: 235.8 kB / 420.7 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001658/0.2933, allocations: 1.428 MB / 422.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008575/0.2941, allocations: 0.5885 MB / 422.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008449/0.295, allocations: 0.5447 MB / 423.3 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006788/0.2957, allocations: 0.5794 MB / 423.8 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.2959, allocations: 140 kB / 424 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003427/0.2962, allocations: 172 kB / 424.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002264/0.2964, allocations: 278.9 kB / 424.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006966/0.2971, allocations: 0.6493 MB / 425.1 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002131/0.2993, allocations: 1.704 MB / 426.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2993, allocations: 0 / 426.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2993, allocations: 0 / 426.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.625e-05/0.2993, allocations: 0 / 426.8 MB, free: 15.45 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.002543/0.3019, allocations: 1.459 MB / 428.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.3019, allocations: 8.031 kB / 428.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001922/0.3022, allocations: 156.3 kB / 428.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005734/0.3027, allocations: 176 kB / 428.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.3039, allocations: 0.7266 MB / 429.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.967e-05/0.304, allocations: 74 kB / 429.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.3042, allocations: 103.9 kB / 429.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.3058, allocations: 0.9229 MB / 430.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.3058, allocations: 4 kB / 430.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.827e-05/0.3059, allocations: 36 kB / 430.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.3059, allocations: 24 kB / 430.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.3072, allocations: 0.6207 MB / 431.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005244/0.3124, allocations: 3.898 MB / 435 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005949/0.3131, allocations: 355.1 kB / 435.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.3134, allocations: 148.7 kB / 435.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.3134, allocations: 4 kB / 435.5 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.3134, allocations: 42.5 kB / 435.5 MB, free: 6.312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.863e-06/0.3135, allocations: 3.938 kB / 435.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002346/0.3158, allocations: 1.2 MB / 436.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.3159, allocations: 81.11 kB / 436.8 MB, free: 4.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.317, allocations: 0.8215 MB / 437.6 MB, free: 4.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.317, allocations: 33.7 kB / 437.7 MB, free: 4.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000457/0.3175, allocations: 0.585 MB / 438.2 MB, free: 3.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.3176, allocations: 138.9 kB / 438.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.3178, allocations: 122.6 kB / 438.5 MB, free: 3.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.318, allocations: 341.9 kB / 438.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.3183, allocations: 149.9 kB / 439 MB, free: 2.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005596/0.3189, allocations: 468 kB / 439.4 MB, free: 2.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009194/0.3198, allocations: 0.6282 MB / 440.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.3198, allocations: 4 kB / 440.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001192/0.321, allocations: 0.6845 MB / 440.7 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.3211, allocations: 8.812 kB / 440.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.3211, allocations: 12 kB / 440.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001696/0.3213, allocations: 40.84 kB / 440.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/0.3218, allocations: 163.7 kB / 441 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.323, allocations: 1.39 MB / 442.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005016/0.3235, allocations: 35.98 kB / 442.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.3236, allocations: 32 kB / 442.4 MB, free: 14.83 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.0003843/0.3239, allocations: 261.6 kB / 442.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.3241, allocations: 91.38 kB / 442.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007581/0.3248, allocations: 370.2 kB / 443.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.3249, allocations: 7.938 kB / 443.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3249, allocations: 0 / 443.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3249, allocations: 4 kB / 443.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.3268, allocations: 1.27 MB / 444.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.3268, allocations: 7.938 kB / 444.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/0.3271, allocations: 75.83 kB / 444.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.596e-05/0.3272, allocations: 24.84 kB / 444.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.3273, allocations: 11.94 kB / 444.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.3284, allocations: 1.367 MB / 445.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.3284, allocations: 4.031 kB / 445.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.3295, allocations: 0.6331 MB / 446.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003083/0.3298, allocations: 192.5 kB / 446.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-05/0.3299, allocations: 12 kB / 446.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.3303, allocations: 27.92 kB / 446.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.499e-05/0.3304, allocations: 27.97 kB / 446.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.3304, allocations: 8 kB / 446.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008408/0.3312, allocations: 0.5615 MB / 447.4 MB, free: 9.594 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3312, allocations: 0 / 447.4 MB, free: 9.594 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007546/0.332, allocations: 188 kB / 447.5 MB, free: 9.41 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.001493/0.3335, allocations: 1.204 MB / 448.7 MB, free: 8.152 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.3346, allocations: 0.516 MB / 449.3 MB, free: 7.625 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3346, allocations: 4.375 kB / 449.3 MB, free: 7.621 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004164/0.335, allocations: 254.5 kB / 449.5 MB, free: 7.359 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009958/0.336, allocations: 213.3 kB / 449.7 MB, free: 7.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.3471, allocations: 7.117 MB / 456.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006706/0.3478, allocations: 0.9961 MB / 457.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004167/0.3483, allocations: 106.8 kB / 457.9 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/0.3487, allocations: 371.3 kB / 458.3 MB, free: 14.09 MB / 382.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3487, allocations: 0 / 458.3 MB, free: 14.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3962/0.745, allocations: 17.92 MB / 476.2 MB, free: 12.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.87, allocations: 7.562 kB / 476.2 MB, free: 12.43 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.1.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