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.001297/0.001297, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 201.2 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.503/1.503, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 59.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2663, allocations: 50.53 MB / 408.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009141/0.2755, allocations: 7.998 MB / 416.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004549/0.2801, allocations: 2.633 MB / 419.4 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.2812, allocations: 23.94 kB / 419.4 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.2833, allocations: 0.5481 MB / 420 MB, free: 6.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002042/0.2853, allocations: 456.4 kB / 420.4 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007531/0.2861, allocations: 239.8 kB / 420.6 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001985/0.2881, allocations: 1.424 MB / 422.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009842/0.2891, allocations: 0.5885 MB / 422.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00096/0.2901, allocations: 0.5485 MB / 423.2 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009975/0.2911, allocations: 0.5833 MB / 423.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003439/0.2914, allocations: 136 kB / 423.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005857/0.292, allocations: 172 kB / 424.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003197/0.2924, allocations: 282.9 kB / 424.4 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000877/0.2932, allocations: 0.6454 MB / 425 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.2949, allocations: 1.697 MB / 426.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2949, allocations: 0 / 426.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2949, allocations: 0 / 426.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.18e-05/0.2949, allocations: 0 / 426.7 MB, free: 15.51 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.00235/0.2973, allocations: 1.433 MB / 428.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2973, allocations: 8.031 kB / 428.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001519/0.2975, allocations: 152.2 kB / 428.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005312/0.298, allocations: 167.4 kB / 428.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.2992, allocations: 0.7298 MB / 429.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.585e-05/0.2993, allocations: 74 kB / 429.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.2994, allocations: 96 kB / 429.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.3008, allocations: 0.9229 MB / 430.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.3008, allocations: 0 / 430.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.874e-05/0.3009, allocations: 40 kB / 430.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.3009, allocations: 27.98 kB / 430.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.302, allocations: 0.6246 MB / 431 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004317/0.3064, allocations: 3.877 MB / 434.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005215/0.3069, allocations: 343.7 kB / 435.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.3072, allocations: 148.8 kB / 435.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.3072, allocations: 7.938 kB / 435.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.3073, allocations: 42.5 kB / 435.4 MB, free: 6.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.914e-06/0.3073, allocations: 4 kB / 435.4 MB, free: 6.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002182/0.3095, allocations: 1.191 MB / 436.6 MB, free: 5.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.3095, allocations: 77.11 kB / 436.6 MB, free: 5.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.3106, allocations: 0.8252 MB / 437.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.3106, allocations: 29.7 kB / 437.5 MB, free: 4.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003768/0.311, allocations: 0.5679 MB / 438.1 MB, free: 3.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.721e-05/0.3111, allocations: 130.2 kB / 438.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.3113, allocations: 130.5 kB / 438.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3114, allocations: 337.9 kB / 438.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003031/0.3117, allocations: 145.9 kB / 438.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004578/0.3122, allocations: 463.9 kB / 439.2 MB, free: 2.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000796/0.313, allocations: 0.632 MB / 439.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.313, allocations: 4 kB / 439.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001125/0.3141, allocations: 0.6846 MB / 440.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.3142, allocations: 12.19 kB / 440.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.3142, allocations: 12 kB / 440.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001673/0.3144, allocations: 36.84 kB / 440.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.3149, allocations: 151.8 kB / 440.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.3159, allocations: 1.398 MB / 442.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005236/0.3165, allocations: 35.98 kB / 442.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/0.3165, allocations: 36.12 kB / 442.2 MB, free: 14.98 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.0003701/0.3169, allocations: 269 kB / 442.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.317, allocations: 90.84 kB / 442.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007164/0.3178, allocations: 370.1 kB / 443 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3178, allocations: 4 kB / 443 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3178, allocations: 4 kB / 443 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3178, allocations: 7.984 kB / 443 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.3197, allocations: 1.258 MB / 444.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.3197, allocations: 11.94 kB / 444.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.32, allocations: 71.89 kB / 444.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.849e-05/0.3201, allocations: 20.84 kB / 444.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.3201, allocations: 8 kB / 444.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008589/0.321, allocations: 1.371 MB / 445.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.321, allocations: 12.12 kB / 445.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009565/0.322, allocations: 0.6246 MB / 446.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/0.3223, allocations: 184.2 kB / 446.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.3224, allocations: 8 kB / 446.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/0.3228, allocations: 31.92 kB / 446.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/0.3229, allocations: 27.95 kB / 446.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.3229, allocations: 12 kB / 446.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007624/0.3237, allocations: 0.5654 MB / 447.2 MB, free: 9.746 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3237, allocations: 0 / 447.2 MB, free: 9.746 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006992/0.3244, allocations: 188 kB / 447.4 MB, free: 9.562 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.001279/0.3257, allocations: 1.203 MB / 448.6 MB, free: 8.305 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000944/0.3267, allocations: 0.5083 MB / 449.1 MB, free: 7.785 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3267, allocations: 0 / 449.1 MB, free: 7.785 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004078/0.3271, allocations: 262.5 kB / 449.3 MB, free: 7.516 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.3282, allocations: 213.9 kB / 449.5 MB, free: 7.316 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.3384, allocations: 7.076 MB / 456.6 MB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007103/0.3391, allocations: 0.9999 MB / 457.6 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000418/0.3396, allocations: 102.9 kB / 457.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004487/0.3401, allocations: 367.3 kB / 458.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3401, allocations: 0 / 458.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04822/0.3883, allocations: 18.18 MB / 476.2 MB, free: 12.37 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.37, allocations: 0 / 476.2 MB, free: 12.37 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