Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 43.94 kB / 377.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2618, allocations: 53.36 MB / 431.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01027/0.2721, allocations: 8.054 MB / 439.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004911/0.277, allocations: 2.672 MB / 441.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006793/0.2777, allocations: 23.94 kB / 441.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.279, allocations: 0.526 MB / 442.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009716/0.28, allocations: 428.8 kB / 442.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004885/0.2805, allocations: 227.6 kB / 443.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001283/0.2818, allocations: 1.233 MB / 444.3 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005722/0.2823, allocations: 366.5 kB / 444.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000616/0.283, allocations: 0.4942 MB / 445.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006847/0.2836, allocations: 0.5212 MB / 445.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.2838, allocations: 116 kB / 445.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003035/0.2841, allocations: 156 kB / 445.9 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.2843, allocations: 235.1 kB / 446.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005328/0.2848, allocations: 0.5676 MB / 446.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.2865, allocations: 1.467 MB / 448.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2865, allocations: 0 / 448.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2865, allocations: 0 / 448.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.2865, allocations: 0 / 448.2 MB, free: 5.684 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.002239/0.2887, allocations: 1.264 MB / 449.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.2888, allocations: 16.03 kB / 449.5 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/0.2889, allocations: 135.5 kB / 449.6 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006914/0.2896, allocations: 176.2 kB / 449.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.2907, allocations: 0.5803 MB / 450.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.786e-05/0.2908, allocations: 70.12 kB / 450.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.2909, allocations: 87.98 kB / 450.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.2923, allocations: 0.8145 MB / 451.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/0.2923, allocations: 7.953 kB / 451.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.857e-05/0.2924, allocations: 36 kB / 451.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.2924, allocations: 23.98 kB / 451.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.2935, allocations: 0.5348 MB / 451.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004466/0.298, allocations: 3.453 MB / 455.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005278/0.2985, allocations: 233.4 kB / 455.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.2988, allocations: 108.8 kB / 455.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.2988, allocations: 8 kB / 455.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.2988, allocations: 42.55 kB / 455.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.383e-06/0.2988, allocations: 0 / 455.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002036/0.3009, allocations: 0.9397 MB / 456.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.3009, allocations: 85.05 kB / 456.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.3019, allocations: 0.7663 MB / 457.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.302, allocations: 33.7 kB / 457.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00041/0.3024, allocations: 0.5228 MB / 458.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.992e-05/0.3025, allocations: 107.1 kB / 458.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.3026, allocations: 126.2 kB / 458.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.3028, allocations: 382.8 kB / 458.7 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.3031, allocations: 133.2 kB / 458.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005421/0.3037, allocations: 446.2 kB / 459.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008765/0.3045, allocations: 0.6216 MB / 459.9 MB, free: 9.242 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.3046, allocations: 8 kB / 459.9 MB, free: 9.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001137/0.3057, allocations: 0.6464 MB / 460.6 MB, free: 8.578 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.3057, allocations: 11.94 kB / 460.6 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.3057, allocations: 12 kB / 460.6 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001571/0.3059, allocations: 36.84 kB / 460.6 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004685/0.3064, allocations: 148.3 kB / 460.8 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.3075, allocations: 1.291 MB / 462.1 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/0.308, allocations: 43.94 kB / 462.1 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.308, allocations: 32 kB / 462.1 MB, free: 6.891 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.0003577/0.3084, allocations: 241.5 kB / 462.4 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.3085, allocations: 79.55 kB / 462.4 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006902/0.3092, allocations: 333.9 kB / 462.8 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3092, allocations: 4 kB / 462.8 MB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3092, allocations: 3.938 kB / 462.8 MB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.3092, allocations: 3.984 kB / 462.8 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.311, allocations: 1.087 MB / 463.9 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.311, allocations: 4 kB / 463.9 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.3112, allocations: 64.11 kB / 463.9 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.748e-05/0.3113, allocations: 20.86 kB / 464 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.3113, allocations: 11.98 kB / 464 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.3124, allocations: 1.279 MB / 465.2 MB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.3124, allocations: 4.031 kB / 465.2 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009359/0.3133, allocations: 0.58 MB / 465.8 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.3135, allocations: 103.5 kB / 465.9 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.832e-05/0.3136, allocations: 8 kB / 465.9 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.3139, allocations: 23.97 kB / 466 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.588e-05/0.314, allocations: 23.91 kB / 466 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.314, allocations: 11.98 kB / 466 MB, free: 2.762 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007012/0.3147, allocations: 0.5224 MB / 466.5 MB, free: 2.246 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3147, allocations: 0 / 466.5 MB, free: 2.246 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006596/0.3154, allocations: 175.9 kB / 466.7 MB, free: 2.074 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.001359/0.3167, allocations: 1.134 MB / 467.8 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008927/0.3176, allocations: 459.4 kB / 468.3 MB, free: 440 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3176, allocations: 1.5 kB / 468.3 MB, free: 440 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003854/0.318, allocations: 238.9 kB / 468.5 MB, free: 188 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009104/0.3189, allocations: 197.9 kB / 468.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009375/0.3283, allocations: 6.536 MB / 475.2 MB, free: 9.027 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006498/0.329, allocations: 0.9526 MB / 476.2 MB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003629/0.3293, allocations: 94.16 kB / 476.3 MB, free: 7.953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004072/0.3297, allocations: 315.3 kB / 476.6 MB, free: 7.645 MB / 382.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3297, allocations: 0 / 476.6 MB, free: 7.645 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05509/0.3848, allocations: 16.61 MB / 493.2 MB, free: 7.258 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.38, allocations: 19.09 kB / 493.2 MB, free: 7.242 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.582626295999944]