Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_3_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.00157/0.001571, allocations: 108.4 kB / 17.73 MB, free: 5.188 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.001813/0.001813, allocations: 188.2 kB / 18.67 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 59.86 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1019, allocations: 46.61 MB / 374.6 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.2328/0.3347, allocations: 7.933 MB / 382.6 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005025/0.3398, allocations: 2.636 MB / 385.2 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009935/0.3408, allocations: 24.72 kB / 385.2 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.3426, allocations: 0.5778 MB / 385.8 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.3443, allocations: 487 kB / 386.3 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006644/0.3449, allocations: 247.4 kB / 386.5 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001932/0.3469, allocations: 1.429 MB / 388 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008578/0.3478, allocations: 0.592 MB / 388.6 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000875/0.3486, allocations: 0.5369 MB / 389.1 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006987/0.3494, allocations: 0.5804 MB / 389.7 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001973/0.3496, allocations: 139.4 kB / 389.8 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004472/0.35, allocations: 173.3 kB / 390 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.3503, allocations: 284.3 kB / 390.3 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006821/0.351, allocations: 0.6443 MB / 390.9 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002585/0.3536, allocations: 1.703 MB / 392.6 MB, free: 4.281 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3536, allocations: 1.219 kB / 392.6 MB, free: 4.281 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3536, allocations: 0 / 392.6 MB, free: 4.281 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.188e-05/0.3536, allocations: 0 / 392.6 MB, free: 4.281 MB / 318.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.002301/0.3559, allocations: 1.461 MB / 394.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.356, allocations: 11.05 kB / 394.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000187/0.3562, allocations: 146.2 kB / 394.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005735/0.3568, allocations: 179.2 kB / 394.4 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.358, allocations: 0.7326 MB / 395.1 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.462e-05/0.3581, allocations: 74.38 kB / 395.2 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.3582, allocations: 98.7 kB / 395.3 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.3598, allocations: 0.92 MB / 396.2 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/0.3599, allocations: 1.906 kB / 396.2 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.385e-05/0.3599, allocations: 45.66 kB / 396.3 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/0.36, allocations: 23.25 kB / 396.3 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.3614, allocations: 0.6268 MB / 396.9 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005324/0.3667, allocations: 3.89 MB / 400.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006094/0.3673, allocations: 351.2 kB / 401.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.3677, allocations: 143 kB / 401.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.3677, allocations: 7.703 kB / 401.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.3677, allocations: 40.75 kB / 401.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.164e-06/0.3678, allocations: 0 / 401.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002834/0.3706, allocations: 1.219 MB / 402.6 MB, free: 14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.3707, allocations: 84.77 kB / 402.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.372, allocations: 0.8198 MB / 403.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.372, allocations: 32.81 kB / 403.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004819/0.3725, allocations: 0.585 MB / 404.1 MB, free: 13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.3726, allocations: 127.4 kB / 404.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/0.3729, allocations: 130.4 kB / 404.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.373, allocations: 337.5 kB / 404.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.3734, allocations: 150 kB / 404.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006384/0.3741, allocations: 455.1 kB / 405.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009862/0.3751, allocations: 0.6317 MB / 405.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.3751, allocations: 3.656 kB / 405.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001413/0.3765, allocations: 0.6936 MB / 406.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.3765, allocations: 16.19 kB / 406.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.3766, allocations: 10.53 kB / 406.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001945/0.3768, allocations: 35.91 kB / 406.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005216/0.3773, allocations: 161.1 kB / 406.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.3787, allocations: 1.393 MB / 408.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007149/0.3794, allocations: 41.77 kB / 408.2 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.3795, allocations: 32.62 kB / 408.3 MB, free: 9.43 MB / 334.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.000451/0.3799, allocations: 263.4 kB / 408.5 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.3801, allocations: 88.05 kB / 408.6 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008065/0.3809, allocations: 372.7 kB / 409 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.3809, allocations: 3.875 kB / 409 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3809, allocations: 1.594 kB / 409 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.3809, allocations: 3.984 kB / 409 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/0.3832, allocations: 1.276 MB / 410.3 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.3832, allocations: 5.5 kB / 410.3 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/0.3835, allocations: 71.25 kB / 410.3 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/0.3836, allocations: 24.12 kB / 410.3 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.3837, allocations: 12.38 kB / 410.4 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.3847, allocations: 1.367 MB / 411.7 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3847, allocations: 1.469 kB / 411.7 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.3859, allocations: 0.6387 MB / 412.4 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003885/0.3863, allocations: 192.1 kB / 412.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.3864, allocations: 8.719 kB / 412.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.3867, allocations: 28.25 kB / 412.6 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.3868, allocations: 32.72 kB / 412.6 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.3869, allocations: 12 kB / 412.6 MB, free: 5.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008099/0.3877, allocations: 0.5604 MB / 413.2 MB, free: 5.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3877, allocations: 0 / 413.2 MB, free: 5.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008717/0.3886, allocations: 189.2 kB / 413.4 MB, free: 5.484 MB / 334.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.001458/0.39, allocations: 1.201 MB / 414.6 MB, free: 4.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.3911, allocations: 0.5062 MB / 415.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.3912, allocations: 1.281 kB / 415.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004141/0.3916, allocations: 271.8 kB / 415.4 MB, free: 4.027 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.3927, allocations: 217.6 kB / 415.6 MB, free: 3.914 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.4039, allocations: 7.119 MB / 422.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009804/0.4049, allocations: 0.9923 MB / 423.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004564/0.4054, allocations: 102.9 kB / 423.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004373/0.4058, allocations: 359.3 kB / 424.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of SimCode: time 2.565e-06/0.4058, allocations: 0 / 424.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0633/0.4692, allocations: 17.91 MB / 442 MB, free: 10.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.33, allocations: 15.89 kB / 442.1 MB, free: 10.75 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches