Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.001928/0.001928, 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 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.003121/0.003121, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 7.801 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_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 51.92 kB / 377.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2515, allocations: 53.36 MB / 431.1 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.008383/0.2599, allocations: 6.356 MB / 437.4 MB, free: 228 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003876/0.2637, allocations: 2.22 MB / 439.7 MB, free: 14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00048/0.2642, allocations: 19.94 kB / 439.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.2654, allocations: 473.1 kB / 440.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008481/0.2663, allocations: 413 kB / 440.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.2667, allocations: 199.8 kB / 440.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001301/0.268, allocations: 1.208 MB / 442 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005469/0.2685, allocations: 316.5 kB / 442.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006692/0.2692, allocations: 486 kB / 442.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005408/0.2698, allocations: 425.8 kB / 443.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.2699, allocations: 116 kB / 443.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.2702, allocations: 156 kB / 443.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001979/0.2704, allocations: 231.1 kB / 443.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004503/0.2708, allocations: 450 kB / 444.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.2725, allocations: 1.447 MB / 445.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2725, allocations: 0 / 445.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2725, allocations: 4 kB / 445.5 MB, free: 8.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.363e-05/0.2725, allocations: 0 / 445.5 MB, free: 8.082 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002131/0.2747, allocations: 1.202 MB / 446.7 MB, free: 6.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.2747, allocations: 8.031 kB / 446.7 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001557/0.2749, allocations: 123.1 kB / 446.9 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004897/0.2754, allocations: 152.2 kB / 447 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.2765, allocations: 0.5804 MB / 447.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.989e-05/0.2765, allocations: 66.36 kB / 447.7 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.2767, allocations: 88.08 kB / 447.7 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.2781, allocations: 0.8295 MB / 448.6 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.2781, allocations: 0 / 448.6 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-05/0.2782, allocations: 35.98 kB / 448.6 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.2782, allocations: 20 kB / 448.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.2792, allocations: 0.5114 MB / 449.1 MB, free: 4.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00444/0.2837, allocations: 3.044 MB / 452.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005205/0.2842, allocations: 218.5 kB / 452.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.2844, allocations: 116.7 kB / 452.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.2845, allocations: 0 / 452.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.2845, allocations: 38.56 kB / 452.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.382e-06/0.2845, allocations: 0 / 452.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.00205/0.2865, allocations: 0.9082 MB / 453.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.2866, allocations: 85.33 kB / 453.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.2876, allocations: 0.7504 MB / 454.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.2876, allocations: 29.7 kB / 454.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000417/0.2881, allocations: 0.5112 MB / 454.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.503e-05/0.2882, allocations: 107.1 kB / 454.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.2883, allocations: 110.2 kB / 455 MB, free: 14.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.2885, allocations: 378.8 kB / 455.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.2888, allocations: 125.2 kB / 455.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000548/0.2893, allocations: 447.8 kB / 456 MB, free: 13.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000845/0.2902, allocations: 0.5753 MB / 456.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.2902, allocations: 7.938 kB / 456.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001149/0.2913, allocations: 0.615 MB / 457.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.2914, allocations: 12 kB / 457.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.2914, allocations: 8 kB / 457.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/0.2916, allocations: 36.84 kB / 457.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004545/0.292, allocations: 136.2 kB / 457.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.2932, allocations: 1.287 MB / 458.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005039/0.2937, allocations: 39.94 kB / 458.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/0.2938, allocations: 28 kB / 458.7 MB, free: 10.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0003696/0.2941, allocations: 237.8 kB / 458.9 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.2943, allocations: 79.52 kB / 459 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006826/0.2949, allocations: 317.5 kB / 459.3 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.2949, allocations: 4 kB / 459.3 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.2949, allocations: 0 / 459.3 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.295, allocations: 0 / 459.3 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.2966, allocations: 1.004 MB / 460.3 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2966, allocations: 0 / 460.3 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.2969, allocations: 55.91 kB / 460.4 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.407e-05/0.297, allocations: 24.84 kB / 460.4 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.297, allocations: 8.219 kB / 460.4 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.2981, allocations: 1.275 MB / 461.7 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2981, allocations: 0 / 461.7 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009659/0.2991, allocations: 0.5555 MB / 462.3 MB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002584/0.2993, allocations: 103.5 kB / 462.4 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.997e-05/0.2994, allocations: 11.98 kB / 462.4 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/0.2997, allocations: 15.98 kB / 462.4 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.445e-05/0.2998, allocations: 31.84 kB / 462.4 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.2998, allocations: 15.92 kB / 462.4 MB, free: 6.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000719/0.3006, allocations: 0.503 MB / 462.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3006, allocations: 0 / 462.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006513/0.3012, allocations: 156 kB / 463.1 MB, free: 5.438 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 (27): * Single equations (assignments): 26 * 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.001343/0.3026, allocations: 1.118 MB / 464.2 MB, free: 4.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009093/0.3035, allocations: 460.6 kB / 464.7 MB, free: 3.809 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3035, allocations: 0 / 464.7 MB, free: 3.809 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003973/0.3039, allocations: 226.5 kB / 464.9 MB, free: 3.574 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009074/0.3048, allocations: 195.6 kB / 465.1 MB, free: 3.398 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009145/0.3139, allocations: 6.285 MB / 471.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.3143, allocations: 348.7 kB / 471.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003398/0.3146, allocations: 90 kB / 471.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003833/0.315, allocations: 299.3 kB / 472.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of SimCode: time 1.253e-06/0.315, allocations: 4 kB / 472.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05726/0.3723, allocations: 16.91 MB / 489 MB, free: 11.35 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.14, allocations: 18.16 kB / 489 MB, free: 11.34 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.csv --start-time 0 --stop-time 2 --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_Start.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.182873639278114]