Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.DCPM_Temperature,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",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.001627/0.001628, allocations: 113.2 kB / 17.73 MB, free: 5.301 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.001491/0.001491, allocations: 188.2 kB / 18.66 MB, free: 4.375 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.448/1.448, 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.001591/0.001592, allocations: 59.92 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09255/0.09415, allocations: 46.61 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.1801/0.2743, allocations: 7.923 MB / 382.6 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003908/0.2783, allocations: 2.624 MB / 385.2 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006866/0.279, allocations: 24.38 kB / 385.2 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.2804, allocations: 0.4947 MB / 385.7 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008671/0.2812, allocations: 399.9 kB / 386.1 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.2817, allocations: 221.4 kB / 386.3 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001093/0.2828, allocations: 1.225 MB / 387.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006544/0.2834, allocations: 0.5312 MB / 388.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006032/0.284, allocations: 483.7 kB / 388.6 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006214/0.2847, allocations: 0.5189 MB / 389.1 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.2848, allocations: 114.3 kB / 389.2 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003446/0.2852, allocations: 151.8 kB / 389.3 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.2853, allocations: 236.9 kB / 389.6 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000435/0.2858, allocations: 0.5634 MB / 390.1 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.2875, allocations: 1.469 MB / 391.6 MB, free: 4.855 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2875, allocations: 0 / 391.6 MB, free: 4.855 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2875, allocations: 0 / 391.6 MB, free: 4.855 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.2875, allocations: 5.062 kB / 391.6 MB, free: 4.852 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00201/0.2895, allocations: 1.332 MB / 392.9 MB, free: 3.938 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.2896, allocations: 9.938 kB / 392.9 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001341/0.2897, allocations: 132 kB / 393.1 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004608/0.2902, allocations: 156.4 kB / 393.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009237/0.2911, allocations: 0.6493 MB / 393.9 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/0.2912, allocations: 68.31 kB / 393.9 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.2913, allocations: 90.48 kB / 394 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.2926, allocations: 0.8235 MB / 394.9 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.149e-05/0.2926, allocations: 2.047 kB / 394.9 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.883e-05/0.2927, allocations: 31.66 kB / 394.9 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.2927, allocations: 20.59 kB / 394.9 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.2937, allocations: 0.5413 MB / 395.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003867/0.2976, allocations: 3.569 MB / 399 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005536/0.2982, allocations: 242.1 kB / 399.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/0.2985, allocations: 119.1 kB / 399.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.2985, allocations: 7.438 kB / 399.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.2985, allocations: 38.25 kB / 399.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.753e-06/0.2985, allocations: 0 / 399.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002232/0.3008, allocations: 1.083 MB / 400.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.3009, allocations: 84.45 kB / 400.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.3019, allocations: 0.7636 MB / 401.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.3019, allocations: 31.08 kB / 401.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003719/0.3023, allocations: 0.5267 MB / 401.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.184e-05/0.3024, allocations: 117.4 kB / 402 MB, free: 14.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.3026, allocations: 125.1 kB / 402.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.3028, allocations: 381.7 kB / 402.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.3031, allocations: 130 kB / 402.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005316/0.3036, allocations: 445.6 kB / 403.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008795/0.3045, allocations: 0.6163 MB / 403.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.3045, allocations: 4.125 kB / 403.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001185/0.3057, allocations: 0.6443 MB / 404.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.3057, allocations: 14.44 kB / 404.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.3058, allocations: 14.5 kB / 404.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000164/0.3059, allocations: 34 kB / 404.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004602/0.3064, allocations: 151.2 kB / 404.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.3076, allocations: 1.4 MB / 405.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/0.3082, allocations: 44.73 kB / 406 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.484e-05/0.3082, allocations: 33.06 kB / 406 MB, free: 10.87 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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.0003443/0.3086, allocations: 241.5 kB / 406.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.3087, allocations: 80.36 kB / 406.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007051/0.3094, allocations: 335.9 kB / 406.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3094, allocations: 2.438 kB / 406.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3094, allocations: 5.734 kB / 406.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3094, allocations: 1.406 kB / 406.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.3112, allocations: 1.123 MB / 407.8 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3112, allocations: 5.062 kB / 407.8 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000284/0.3115, allocations: 62.88 kB / 407.9 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.719e-05/0.3116, allocations: 24.22 kB / 407.9 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.3117, allocations: 7.875 kB / 407.9 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.3127, allocations: 1.377 MB / 409.3 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3128, allocations: 2.156 kB / 409.3 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009928/0.3138, allocations: 0.5828 MB / 409.9 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002454/0.314, allocations: 175 kB / 410 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.493e-05/0.3141, allocations: 7.562 kB / 410 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.3144, allocations: 23.03 kB / 410.1 MB, free: 7.516 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.3145, allocations: 26.84 kB / 410.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.3145, allocations: 8.094 kB / 410.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000733/0.3153, allocations: 0.5221 MB / 410.6 MB, free: 7.199 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3153, allocations: 1 kB / 410.6 MB, free: 7.199 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007368/0.316, allocations: 170.3 kB / 410.8 MB, free: 7.184 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (28): * Single equations (assignments): 27 * 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.001412/0.3174, allocations: 1.139 MB / 411.9 MB, free: 6.227 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009999/0.3184, allocations: 483.9 kB / 412.4 MB, free: 5.953 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.3185, allocations: 1.469 kB / 412.4 MB, free: 5.953 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003843/0.3189, allocations: 243.6 kB / 412.6 MB, free: 5.781 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009649/0.3198, allocations: 194 kB / 412.8 MB, free: 5.676 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009672/0.3295, allocations: 6.527 MB / 419.3 MB, free: 1.094 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006048/0.3301, allocations: 0.9509 MB / 420.3 MB, free: 288 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003872/0.3305, allocations: 92.05 kB / 420.4 MB, free: 240 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004439/0.331, allocations: 316.8 kB / 420.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.331, allocations: 0 / 420.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04801/0.379, allocations: 16.06 MB / 436.8 MB, free: 120 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.41, allocations: 11.98 kB / 436.8 MB, free: 108 kB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches