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.0013/0.0013, allocations: 115.6 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.001668/0.001668, allocations: 210.1 kB / 23.74 MB, free: 4.672 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.435/1.435, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.001568/0.001568, allocations: 51.92 kB / 377.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2684, allocations: 53.36 MB / 431.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.00981/0.2782, allocations: 7.219 MB / 438.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004387/0.2826, allocations: 2.399 MB / 440.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007461/0.2834, allocations: 23.88 kB / 440.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.2848, allocations: 0.5088 MB / 441.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.2858, allocations: 421 kB / 441.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.2863, allocations: 203.7 kB / 441.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001571/0.2879, allocations: 1.206 MB / 443.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006191/0.2885, allocations: 341.5 kB / 443.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008636/0.2893, allocations: 478.2 kB / 443.9 MB, free: 10 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006354/0.29, allocations: 0.4899 MB / 444.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.2901, allocations: 123.9 kB / 444.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.2904, allocations: 156 kB / 444.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.2906, allocations: 223.2 kB / 444.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005467/0.2912, allocations: 0.5482 MB / 445.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.2928, allocations: 1.44 MB / 446.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2928, allocations: 0 / 446.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2928, allocations: 0 / 446.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.2929, allocations: 0 / 446.9 MB, free: 7.023 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.002182/0.295, allocations: 1.198 MB / 448.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.2951, allocations: 8.031 kB / 448.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001616/0.2953, allocations: 131 kB / 448.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004883/0.2957, allocations: 152.2 kB / 448.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.2969, allocations: 0.5765 MB / 448.9 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.676e-05/0.2969, allocations: 62.38 kB / 449 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.297, allocations: 92.06 kB / 449.1 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.2983, allocations: 0.7715 MB / 449.9 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.2984, allocations: 7.984 kB / 449.9 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.243e-05/0.2984, allocations: 36 kB / 449.9 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.2984, allocations: 20 kB / 449.9 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.2995, allocations: 0.5114 MB / 450.4 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004259/0.3037, allocations: 3.278 MB / 453.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004831/0.3042, allocations: 218.5 kB / 453.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.3044, allocations: 104.8 kB / 454 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.3045, allocations: 4 kB / 454 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.3045, allocations: 34.56 kB / 454.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.824e-06/0.3045, allocations: 0 / 454.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001974/0.3065, allocations: 0.908 MB / 455 MB, free: 14.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/0.3065, allocations: 81.34 kB / 455.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009481/0.3075, allocations: 0.735 MB / 455.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.3075, allocations: 33.7 kB / 455.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.3079, allocations: 0.5034 MB / 456.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.055e-05/0.308, allocations: 111.1 kB / 456.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.3081, allocations: 114.2 kB / 456.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.3084, allocations: 378.8 kB / 456.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/0.3086, allocations: 125.2 kB / 457 MB, free: 12.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005017/0.3091, allocations: 422.1 kB / 457.5 MB, free: 11.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007978/0.3099, allocations: 0.5753 MB / 458 MB, free: 11.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.3099, allocations: 4 kB / 458 MB, free: 11.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001038/0.311, allocations: 0.6195 MB / 458.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.311, allocations: 19.94 kB / 458.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.311, allocations: 8 kB / 458.7 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00016/0.3112, allocations: 32.84 kB / 458.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.3116, allocations: 139.8 kB / 458.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/0.3127, allocations: 1.295 MB / 460.1 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.3131, allocations: 31.94 kB / 460.2 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/0.3132, allocations: 32.12 kB / 460.2 MB, free: 8.887 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.0003069/0.3135, allocations: 237.6 kB / 460.4 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.3136, allocations: 75.53 kB / 460.5 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006327/0.3142, allocations: 317.4 kB / 460.8 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.3142, allocations: 4 kB / 460.8 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.3142, allocations: 4 kB / 460.8 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3142, allocations: 3.984 kB / 460.8 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.3159, allocations: 1.066 MB / 461.9 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-06/0.3159, allocations: 4 kB / 461.9 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.3161, allocations: 55.91 kB / 462 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.574e-05/0.3162, allocations: 24.84 kB / 462 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.3162, allocations: 8 kB / 462 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009931/0.3172, allocations: 1.271 MB / 463.3 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3172, allocations: 4.156 kB / 463.3 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008779/0.3181, allocations: 0.5531 MB / 463.8 MB, free: 5.012 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.3183, allocations: 103.5 kB / 463.9 MB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.551e-05/0.3184, allocations: 8 kB / 463.9 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.3187, allocations: 19.98 kB / 463.9 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.3187, allocations: 35.83 kB / 464 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.3188, allocations: 12.09 kB / 464 MB, free: 4.836 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000659/0.3194, allocations: 0.4991 MB / 464.5 MB, free: 4.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3194, allocations: 0 / 464.5 MB, free: 4.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006338/0.3201, allocations: 163.9 kB / 464.7 MB, free: 4.18 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.001285/0.3213, allocations: 1.117 MB / 465.8 MB, free: 3.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008897/0.3222, allocations: 448.9 kB / 466.2 MB, free: 2.562 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.3222, allocations: 12.06 kB / 466.2 MB, free: 2.551 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003662/0.3226, allocations: 232 kB / 466.4 MB, free: 2.312 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008897/0.3235, allocations: 187.9 kB / 466.6 MB, free: 2.141 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009124/0.3326, allocations: 6.278 MB / 472.9 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005965/0.3332, allocations: 0.9411 MB / 473.8 MB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003514/0.3336, allocations: 94 kB / 473.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003721/0.3339, allocations: 299.3 kB / 474.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of SimCode: time 1.402e-06/0.3339, allocations: 0 / 474.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05575/0.3897, allocations: 15.98 MB / 490.2 MB, free: 10.35 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.11, allocations: 0 / 490.2 MB, free: 10.35 MB / 398.1 MB " [Timeout remaining time 647] (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: 16.129692130998592]