Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.DCPM_Temperature,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001728/0.001729, allocations: 121.2 kB / 17.78 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001994/0.001994, allocations: 200.6 kB / 18.73 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.83 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2644, allocations: 50.54 MB / 408.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008873/0.2733, allocations: 7.98 MB / 416.7 MB, free: 9.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004427/0.2777, allocations: 2.648 MB / 419.4 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007295/0.2785, allocations: 23.94 kB / 419.4 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.2799, allocations: 0.5204 MB / 419.9 MB, free: 6.324 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009755/0.2809, allocations: 432.8 kB / 420.4 MB, free: 5.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.2813, allocations: 219.6 kB / 420.6 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001264/0.2826, allocations: 1.237 MB / 421.8 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006893/0.2833, allocations: 0.537 MB / 422.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000657/0.284, allocations: 494 kB / 422.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006347/0.2846, allocations: 0.5134 MB / 423.3 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.2848, allocations: 120 kB / 423.5 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000322/0.2851, allocations: 164 kB / 423.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.2853, allocations: 231.1 kB / 423.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005247/0.2859, allocations: 0.5676 MB / 424.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.2875, allocations: 1.467 MB / 425.9 MB, free: 332 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2875, allocations: 3.938 kB / 425.9 MB, free: 328 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2875, allocations: 0 / 425.9 MB, free: 328 kB / 334.1 MB Notification: Performance of Transformations before backend: time 2.07e-05/0.2875, allocations: 0 / 425.9 MB, free: 328 kB / 334.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.002198/0.2897, allocations: 1.328 MB / 427.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.2898, allocations: 8.031 kB / 427.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000158/0.2899, allocations: 139.5 kB / 427.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006819/0.2906, allocations: 176.2 kB / 427.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.2917, allocations: 0.6576 MB / 428.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.597e-05/0.2918, allocations: 66.12 kB / 428.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.2919, allocations: 80 kB / 428.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.2932, allocations: 0.8184 MB / 429.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.425e-05/0.2933, allocations: 7.953 kB / 429.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.37e-05/0.2933, allocations: 39.94 kB / 429.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.2934, allocations: 20 kB / 429.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.2944, allocations: 0.5426 MB / 429.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004433/0.2989, allocations: 3.563 MB / 433.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000553/0.2994, allocations: 238.7 kB / 433.5 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.2997, allocations: 112.8 kB / 433.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.2997, allocations: 7.984 kB / 433.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.2998, allocations: 38.56 kB / 433.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.254e-06/0.2998, allocations: 0 / 433.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002232/0.302, allocations: 1.098 MB / 434.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.3021, allocations: 85.05 kB / 434.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009544/0.3031, allocations: 0.7663 MB / 435.7 MB, free: 6.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.3031, allocations: 29.7 kB / 435.7 MB, free: 6.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/0.3035, allocations: 0.5228 MB / 436.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.375e-05/0.3036, allocations: 111.1 kB / 436.3 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.3037, allocations: 118.2 kB / 436.4 MB, free: 5.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.3039, allocations: 386.8 kB / 436.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.3042, allocations: 133.2 kB / 436.9 MB, free: 4.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004766/0.3047, allocations: 438.2 kB / 437.4 MB, free: 4.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008167/0.3055, allocations: 0.6177 MB / 438 MB, free: 3.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.3055, allocations: 8 kB / 438 MB, free: 3.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001101/0.3067, allocations: 0.6504 MB / 438.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.3067, allocations: 18.75 kB / 438.7 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.3067, allocations: 8 kB / 438.7 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001621/0.3069, allocations: 36.84 kB / 438.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.3073, allocations: 151.7 kB / 438.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.3085, allocations: 1.398 MB / 440.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00057/0.3091, allocations: 48 kB / 440.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.3092, allocations: 32 kB / 440.3 MB, free: 0.9062 MB / 350.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.0003578/0.3095, allocations: 249 kB / 440.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-05/0.3096, allocations: 79.48 kB / 440.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006733/0.3103, allocations: 333.9 kB / 441 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.3103, allocations: 4 kB / 441 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3103, allocations: 3.938 kB / 441 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3104, allocations: 3.984 kB / 441 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.312, allocations: 1.114 MB / 442.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.312, allocations: 0 / 442.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.3123, allocations: 60.12 kB / 442.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.635e-05/0.3124, allocations: 28.84 kB / 442.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.3125, allocations: 8 kB / 442.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009782/0.3134, allocations: 1.367 MB / 443.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.3135, allocations: 7.969 kB / 443.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009054/0.3144, allocations: 0.5761 MB / 444.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/0.3146, allocations: 180.6 kB / 444.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.544e-05/0.3147, allocations: 11.98 kB / 444.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.3151, allocations: 20.08 kB / 444.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.798e-05/0.3152, allocations: 23.95 kB / 444.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.3152, allocations: 16 kB / 444.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006878/0.3159, allocations: 0.5185 MB / 444.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3159, allocations: 8 kB / 444.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007516/0.3166, allocations: 167.9 kB / 445.1 MB, free: 11.84 MB / 366.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.001395/0.318, allocations: 1.149 MB / 446.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009596/0.319, allocations: 483.8 kB / 446.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.319, allocations: 0 / 446.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000365/0.3194, allocations: 239.9 kB / 446.9 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000898/0.3203, allocations: 195.6 kB / 447.1 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008531/0.3289, allocations: 6.523 MB / 453.6 MB, free: 2.777 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/0.3294, allocations: 0.9526 MB / 454.6 MB, free: 1.797 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003398/0.3298, allocations: 94.16 kB / 454.7 MB, free: 1.703 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003646/0.3301, allocations: 319.3 kB / 455 MB, free: 1.391 MB / 366.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3302, allocations: 0 / 455 MB, free: 1.391 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04475/0.3749, allocations: 16.06 MB / 471.1 MB, free: 1.582 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.2, allocations: 7.609 kB / 471.1 MB, free: 1.578 MB / 382.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches