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.001839/0.001839, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002173/0.002173, allocations: 213.2 kB / 23.73 MB, free: 4.164 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.45/1.45, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.002863/0.002863, allocations: 63.91 kB / 377.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2729, allocations: 53.42 MB / 431.2 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009898/0.2828, allocations: 7.057 MB / 438.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004807/0.2876, allocations: 2.477 MB / 440.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009434/0.2885, allocations: 27.94 kB / 440.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.2901, allocations: 474.8 kB / 441.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.2917, allocations: 440.7 kB / 441.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006753/0.2924, allocations: 215.7 kB / 441.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001563/0.2939, allocations: 1.245 MB / 443.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005988/0.2945, allocations: 342.5 kB / 443.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006499/0.2952, allocations: 0.4942 MB / 443.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005786/0.2958, allocations: 457.6 kB / 444.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.2959, allocations: 116 kB / 444.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.2962, allocations: 152 kB / 444.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.2964, allocations: 227.2 kB / 444.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004621/0.2969, allocations: 477.9 kB / 445.3 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.2984, allocations: 1.475 MB / 446.8 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2984, allocations: 0 / 446.8 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2984, allocations: 4 kB / 446.8 MB, free: 6.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.2984, allocations: 4 kB / 446.8 MB, free: 6.715 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.002137/0.3006, allocations: 1.264 MB / 448 MB, free: 5.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.3006, allocations: 11.98 kB / 448.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001495/0.3008, allocations: 131.5 kB / 448.2 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000698/0.3015, allocations: 180.2 kB / 448.4 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.3026, allocations: 0.5764 MB / 448.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.968e-05/0.3026, allocations: 66.12 kB / 449 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.3028, allocations: 87.98 kB / 449.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.3043, allocations: 0.8686 MB / 450 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/0.3043, allocations: 7.953 kB / 450 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-05/0.3044, allocations: 36 kB / 450 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.3044, allocations: 20 kB / 450 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.3055, allocations: 0.5387 MB / 450.6 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004262/0.3098, allocations: 3.069 MB / 453.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005444/0.3103, allocations: 241.3 kB / 453.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.3105, allocations: 109.5 kB / 454 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.3106, allocations: 0 / 454 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.3106, allocations: 38.56 kB / 454 MB, free: 15.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.302e-06/0.3106, allocations: 0 / 454 MB, free: 15.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002042/0.3126, allocations: 0.9496 MB / 455 MB, free: 14.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.3127, allocations: 81.11 kB / 455 MB, free: 14.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.3137, allocations: 0.7778 MB / 455.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.3137, allocations: 29.7 kB / 455.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004361/0.3142, allocations: 0.5306 MB / 456.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.029e-05/0.3143, allocations: 111.1 kB / 456.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.3144, allocations: 126.2 kB / 456.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.3146, allocations: 378.8 kB / 457 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.3149, allocations: 133.2 kB / 457.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000573/0.3155, allocations: 475.9 kB / 457.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009086/0.3164, allocations: 0.6177 MB / 458.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.3164, allocations: 4 kB / 458.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001158/0.3176, allocations: 0.646 MB / 458.8 MB, free: 9.926 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.3176, allocations: 16.91 kB / 458.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.3176, allocations: 8 kB / 458.9 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001582/0.3178, allocations: 40.78 kB / 458.9 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004763/0.3183, allocations: 151.8 kB / 459 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.3194, allocations: 1.287 MB / 460.3 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004882/0.3199, allocations: 44.09 kB / 460.4 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.3199, allocations: 35.94 kB / 460.4 MB, free: 8.23 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.0003333/0.3203, allocations: 237.5 kB / 460.6 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.3204, allocations: 83.48 kB / 460.7 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006862/0.3211, allocations: 326 kB / 461 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3211, allocations: 8 kB / 461 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3211, allocations: 3.938 kB / 461.1 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3211, allocations: 3.984 kB / 461.1 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.3227, allocations: 1.015 MB / 462.1 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.3227, allocations: 0 / 462.1 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.323, allocations: 68.12 kB / 462.1 MB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.51e-05/0.3231, allocations: 28.78 kB / 462.2 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.3231, allocations: 8 kB / 462.2 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009814/0.3241, allocations: 1.259 MB / 463.4 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3241, allocations: 4.031 kB / 463.4 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009296/0.325, allocations: 0.5762 MB / 464 MB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.3253, allocations: 103.5 kB / 464.1 MB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.448e-05/0.3253, allocations: 11.98 kB / 464.1 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.3257, allocations: 19.98 kB / 464.1 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.696e-05/0.3258, allocations: 31.89 kB / 464.2 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.3258, allocations: 16.03 kB / 464.2 MB, free: 4.188 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007025/0.3265, allocations: 0.5108 MB / 464.7 MB, free: 3.684 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3265, allocations: 0 / 464.7 MB, free: 3.684 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006693/0.3272, allocations: 172 kB / 464.9 MB, free: 3.516 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.001384/0.3285, allocations: 1.161 MB / 466 MB, free: 2.305 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009799/0.3295, allocations: 459.3 kB / 466.5 MB, free: 1.844 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3295, allocations: 1.625 kB / 466.5 MB, free: 1.844 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004063/0.3299, allocations: 246.9 kB / 466.7 MB, free: 1.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009233/0.3309, allocations: 182.5 kB / 466.9 MB, free: 1.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009231/0.3401, allocations: 6.521 MB / 473.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.3405, allocations: 361.3 kB / 473.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003601/0.3408, allocations: 94.16 kB / 473.9 MB, free: 9.988 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004156/0.3413, allocations: 319.3 kB / 474.2 MB, free: 9.676 MB / 382.1 MB Notification: Performance of SimCode: time 1.332e-06/0.3413, allocations: 7.938 kB / 474.2 MB, free: 9.668 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05727/0.3985, allocations: 17.57 MB / 491.8 MB, free: 8.344 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.53, allocations: 7.875 kB / 491.8 MB, free: 8.336 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: 15.770932556595653]