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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 109.9 kB / 17.06 MB, free: 5.973 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.001689/0.001689, allocations: 200 kB / 18.01 MB, free: 5.055 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.582/1.582, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.00113, allocations: 47.94 kB / 350.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3296, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01117/0.3409, allocations: 7.976 MB / 408.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006532/0.3475, allocations: 2.602 MB / 410.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.3489, allocations: 23.94 kB / 410.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002556/0.3515, allocations: 0.5442 MB / 411.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002199/0.3537, allocations: 452.4 kB / 411.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009994/0.3547, allocations: 239.7 kB / 412.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002849/0.3576, allocations: 1.43 MB / 413.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001635/0.3593, allocations: 0.5885 MB / 414.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.3606, allocations: 0.5408 MB / 414.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.362, allocations: 0.5833 MB / 415.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003867/0.3624, allocations: 136 kB / 415.3 MB, free: 9.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007215/0.3631, allocations: 176 kB / 415.5 MB, free: 9.453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004081/0.3635, allocations: 271 kB / 415.8 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.365, allocations: 0.6532 MB / 416.4 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003397/0.3684, allocations: 1.701 MB / 418.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.3684, allocations: 4 kB / 418.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3684, allocations: 0 / 418.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.314e-05/0.3685, allocations: 0 / 418.1 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.004885/0.3734, allocations: 1.429 MB / 419.6 MB, free: 5.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.3735, allocations: 8.031 kB / 419.6 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003608/0.3739, allocations: 156.3 kB / 419.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.3749, allocations: 171.4 kB / 419.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/0.3773, allocations: 0.7221 MB / 420.6 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.295e-05/0.3774, allocations: 74 kB / 420.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/0.3777, allocations: 99.91 kB / 420.8 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002852/0.3806, allocations: 0.9229 MB / 421.7 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.789e-05/0.3806, allocations: 3.984 kB / 421.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/0.3808, allocations: 40 kB / 421.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.41e-05/0.3808, allocations: 24 kB / 421.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/0.3832, allocations: 0.6246 MB / 422.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009059/0.3923, allocations: 3.866 MB / 426.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.3934, allocations: 363.6 kB / 426.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005346/0.394, allocations: 147.5 kB / 426.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.752e-05/0.394, allocations: 4 kB / 426.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.329e-05/0.3941, allocations: 46.44 kB / 426.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 4.869e-06/0.3941, allocations: 0 / 426.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.003753/0.3979, allocations: 1.182 MB / 428 MB, free: 12.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.398, allocations: 85.05 kB / 428.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00204/0.4, allocations: 0.833 MB / 428.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/0.4001, allocations: 33.7 kB / 428.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006427/0.4008, allocations: 0.564 MB / 429.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.401, allocations: 130.2 kB / 429.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002889/0.4013, allocations: 126.5 kB / 429.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.4015, allocations: 341.9 kB / 430.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005779/0.4021, allocations: 141.9 kB / 430.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008781/0.403, allocations: 460 kB / 430.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.4045, allocations: 0.6444 MB / 431.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/0.4046, allocations: 4 kB / 431.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002409/0.407, allocations: 0.6846 MB / 432 MB, free: 8.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.4071, allocations: 12 kB / 432 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.764e-05/0.4071, allocations: 8 kB / 432 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000299/0.4074, allocations: 40.78 kB / 432.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000926/0.4084, allocations: 155.7 kB / 432.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.4103, allocations: 1.398 MB / 433.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.4114, allocations: 31.92 kB / 433.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.379e-05/0.4115, allocations: 36 kB / 433.7 MB, free: 6.285 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.0006282/0.4121, allocations: 257.5 kB / 433.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002617/0.4124, allocations: 86.91 kB / 434 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.4137, allocations: 374.5 kB / 434.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.4138, allocations: 7.984 kB / 434.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4138, allocations: 4 kB / 434.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.4138, allocations: 0 / 434.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00338/0.4172, allocations: 1.255 MB / 435.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.4172, allocations: 7.938 kB / 435.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006007/0.4178, allocations: 75.89 kB / 435.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001629/0.418, allocations: 29.02 kB / 435.8 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.654e-05/0.4181, allocations: 8 kB / 435.8 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.4196, allocations: 1.371 MB / 437.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.4197, allocations: 4.031 kB / 437.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.4215, allocations: 0.6356 MB / 437.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005523/0.4221, allocations: 192.2 kB / 438 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002523/0.4224, allocations: 8 kB / 438 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007696/0.4232, allocations: 27.91 kB / 438 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.4233, allocations: 27.91 kB / 438 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.4234, allocations: 12 kB / 438 MB, free: 1.617 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001495/0.4249, allocations: 0.5654 MB / 438.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.4249, allocations: 4 kB / 438.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001431/0.4263, allocations: 188 kB / 438.8 MB, free: 0.8672 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.00242/0.4288, allocations: 1.195 MB / 440 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.4304, allocations: 0.5078 MB / 440.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.4305, allocations: 0 / 440.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000675/0.4311, allocations: 268.6 kB / 440.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.4331, allocations: 220.3 kB / 441 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/0.4491, allocations: 7.075 MB / 448 MB, free: 7.082 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008012/0.45, allocations: 1 MB / 449 MB, free: 6.055 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005234/0.4505, allocations: 98.88 kB / 449.1 MB, free: 5.953 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005174/0.4511, allocations: 371.3 kB / 449.5 MB, free: 5.59 MB / 366.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4511, allocations: 0 / 449.5 MB, free: 5.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07001/0.5211, allocations: 18.14 MB / 467.6 MB, free: 3.727 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.06/17.58, allocations: 11.91 kB / 467.7 MB, free: 3.715 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > 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/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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches