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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001678/0.001678, allocations: 120.4 kB / 20.44 MB, free: 1.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002063/0.002063, allocations: 212.1 kB / 23.74 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 230.5 MB / 257.4 MB, free: 8.172 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 59.91 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.279, allocations: 53.41 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01017/0.2892, allocations: 8.049 MB / 439.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004995/0.2942, allocations: 2.66 MB / 441.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000813/0.295, allocations: 27.88 kB / 441.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.2964, allocations: 0.5281 MB / 442.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001184/0.2976, allocations: 432.8 kB / 442.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/0.2981, allocations: 219.6 kB / 443.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.2997, allocations: 1.233 MB / 444.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006409/0.3003, allocations: 371.5 kB / 444.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007925/0.3011, allocations: 0.4981 MB / 445.2 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006618/0.3018, allocations: 0.5173 MB / 445.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.3019, allocations: 116 kB / 445.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.3022, allocations: 155.9 kB / 446 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.3024, allocations: 239.1 kB / 446.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005245/0.3029, allocations: 0.5637 MB / 446.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.3047, allocations: 1.47 MB / 448.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3047, allocations: 0 / 448.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3047, allocations: 0 / 448.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.943e-05/0.3047, allocations: 3.938 kB / 448.3 MB, free: 5.535 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002299/0.307, allocations: 1.264 MB / 449.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.307, allocations: 12.03 kB / 449.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001599/0.3072, allocations: 131.5 kB / 449.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007196/0.3079, allocations: 180.1 kB / 449.8 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.309, allocations: 0.5842 MB / 450.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.675e-05/0.3091, allocations: 70.11 kB / 450.5 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.3092, allocations: 84 kB / 450.6 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.3105, allocations: 0.8184 MB / 451.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.3106, allocations: 3.953 kB / 451.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.097e-05/0.3106, allocations: 36 kB / 451.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/0.3107, allocations: 24 kB / 451.4 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.3117, allocations: 0.5426 MB / 452 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004537/0.3163, allocations: 3.457 MB / 455.4 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005399/0.3168, allocations: 229.4 kB / 455.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.3171, allocations: 116.8 kB / 455.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.3171, allocations: 0 / 455.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.3171, allocations: 42.55 kB / 455.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.453e-06/0.3171, allocations: 0 / 455.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002152/0.3193, allocations: 0.9386 MB / 456.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.3193, allocations: 81.05 kB / 456.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009948/0.3203, allocations: 0.7702 MB / 457.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.3204, allocations: 33.64 kB / 457.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003953/0.3208, allocations: 0.5228 MB / 458.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.3209, allocations: 119.1 kB / 458.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.321, allocations: 118.2 kB / 458.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.3212, allocations: 382.8 kB / 458.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.3215, allocations: 129.2 kB / 458.9 MB, free: 10.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000528/0.3221, allocations: 446.2 kB / 459.3 MB, free: 9.855 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008725/0.3229, allocations: 0.6177 MB / 460 MB, free: 9.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.3229, allocations: 4 kB / 460 MB, free: 9.086 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001156/0.3241, allocations: 0.6501 MB / 460.6 MB, free: 8.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.3241, allocations: 11.94 kB / 460.6 MB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.3241, allocations: 12 kB / 460.6 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001803/0.3243, allocations: 37.59 kB / 460.7 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004916/0.3248, allocations: 151.7 kB / 460.8 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.3261, allocations: 1.295 MB / 462.1 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/0.3265, allocations: 47.92 kB / 462.2 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/0.3266, allocations: 32 kB / 462.2 MB, free: 6.727 MB / 366.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.0003456/0.3269, allocations: 249.1 kB / 462.4 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.327, allocations: 79.48 kB / 462.5 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006855/0.3277, allocations: 329.9 kB / 462.8 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3277, allocations: 4 kB / 462.8 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3277, allocations: 3.938 kB / 462.8 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3277, allocations: 3.984 kB / 462.8 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.3294, allocations: 1.078 MB / 463.9 MB, free: 4.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3294, allocations: 8.031 kB / 463.9 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.3297, allocations: 63.89 kB / 464 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.766e-05/0.3298, allocations: 16.86 kB / 464 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.3298, allocations: 11.98 kB / 464 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009785/0.3308, allocations: 1.267 MB / 465.3 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.3308, allocations: 7.969 kB / 465.3 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009197/0.3317, allocations: 0.5801 MB / 465.9 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.3319, allocations: 103.5 kB / 466 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.382e-05/0.332, allocations: 15.98 kB / 466 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.3323, allocations: 19.98 kB / 466 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.3324, allocations: 19.97 kB / 466 MB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.3324, allocations: 15.98 kB / 466 MB, free: 2.609 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006984/0.3331, allocations: 0.5224 MB / 466.6 MB, free: 2.094 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3331, allocations: 0 / 466.6 MB, free: 2.094 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006735/0.3338, allocations: 175.9 kB / 466.7 MB, free: 1.922 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.001352/0.3351, allocations: 1.134 MB / 467.9 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009374/0.3361, allocations: 464.3 kB / 468.3 MB, free: 280 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3361, allocations: 0 / 468.3 MB, free: 280 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003856/0.3365, allocations: 239.2 kB / 468.6 MB, free: 28 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009353/0.3374, allocations: 186.8 kB / 468.7 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009404/0.3468, allocations: 6.544 MB / 475.3 MB, free: 8.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006548/0.3474, allocations: 0.9565 MB / 476.2 MB, free: 7.891 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003677/0.3478, allocations: 94.16 kB / 476.3 MB, free: 7.797 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004106/0.3482, allocations: 311.3 kB / 476.6 MB, free: 7.492 MB / 382.1 MB Notification: Performance of SimCode: time 1.372e-06/0.3482, allocations: 4 kB / 476.6 MB, free: 7.488 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05999/0.4082, allocations: 16.61 MB / 493.3 MB, free: 7.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.15, allocations: 3.984 kB / 493.3 MB, free: 7.066 MB / 398.1 MB " [Timeout remaining time 647] (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) [Timeout 52.5] 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.1.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) [Timeout 660] "Error: Could not read variable loadInertia.w in file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.512030958998366]