Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 112.2 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 180.5 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 55.92 kB / 370.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2692, allocations: 52.18 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01032/0.2795, allocations: 8.149 MB / 430.8 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005321/0.2848, allocations: 2.645 MB / 433.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.286, allocations: 31.88 kB / 433.5 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.2878, allocations: 0.5715 MB / 434 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.2895, allocations: 0.4925 MB / 434.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000689/0.2901, allocations: 247.7 kB / 434.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002258/0.2924, allocations: 1.482 MB / 436.3 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007492/0.2932, allocations: 395.3 kB / 436.6 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.2943, allocations: 0.572 MB / 437.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008719/0.2952, allocations: 0.5988 MB / 437.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.2954, allocations: 136 kB / 437.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003872/0.2957, allocations: 180 kB / 438.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002535/0.296, allocations: 283 kB / 438.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007091/0.2967, allocations: 0.6609 MB / 439.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.299, allocations: 1.736 MB / 440.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.299, allocations: 3.938 kB / 440.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.299, allocations: 4 kB / 440.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.035e-05/0.299, allocations: 0 / 440.8 MB, free: 12.35 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00286/0.3019, allocations: 1.407 MB / 442.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.3019, allocations: 8.031 kB / 442.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001859/0.3021, allocations: 152.3 kB / 442.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006967/0.3028, allocations: 200 kB / 442.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.3042, allocations: 0.6687 MB / 443.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.977e-05/0.3043, allocations: 74 kB / 443.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.3044, allocations: 100 kB / 443.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.3062, allocations: 0.9346 MB / 444.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.789e-05/0.3063, allocations: 7.953 kB / 444.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-05/0.3063, allocations: 40 kB / 444.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.3064, allocations: 28 kB / 444.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.3076, allocations: 0.6364 MB / 445 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005704/0.3133, allocations: 3.77 MB / 448.8 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007138/0.314, allocations: 358.8 kB / 449.2 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000592/0.3146, allocations: 249.3 kB / 449.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.848e-05/0.3146, allocations: 4.328 kB / 449.4 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.3147, allocations: 38.89 kB / 449.4 MB, free: 3.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 3.807e-06/0.3147, allocations: 0 / 449.4 MB, free: 3.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002823/0.3175, allocations: 1.274 MB / 450.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.3176, allocations: 81.11 kB / 450.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.3188, allocations: 0.8254 MB / 451.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.3188, allocations: 29.7 kB / 451.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004551/0.3193, allocations: 0.5735 MB / 452.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.3194, allocations: 162.6 kB / 452.4 MB, free: 348 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.3196, allocations: 126.6 kB / 452.5 MB, free: 216 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3197, allocations: 337.9 kB / 452.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/0.3201, allocations: 169.9 kB / 453 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/0.3206, allocations: 463.9 kB / 453.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000951/0.3216, allocations: 0.6546 MB / 454.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.3216, allocations: 4 kB / 454.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001425/0.323, allocations: 0.7749 MB / 454.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.323, allocations: 8 kB / 454.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.3231, allocations: 12 kB / 454.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002962/0.3234, allocations: 89.8 kB / 455 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00049/0.3238, allocations: 155.8 kB / 455.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/0.3265, allocations: 2.924 MB / 458.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006034/0.3271, allocations: 39.94 kB / 458.1 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/0.3272, allocations: 36 kB / 458.2 MB, free: 10.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000408/0.3276, allocations: 257.6 kB / 458.4 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.3277, allocations: 91.56 kB / 458.5 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009986/0.3287, allocations: 0.4955 MB / 459 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.3287, allocations: 8 kB / 459 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3287, allocations: 0 / 459 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3287, allocations: 0 / 459 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.3311, allocations: 1.411 MB / 460.4 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3311, allocations: 48 / 460.4 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.3314, allocations: 84.09 kB / 460.5 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002148/0.3316, allocations: 65.69 kB / 460.6 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.3316, allocations: 12 kB / 460.6 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002585/0.3342, allocations: 2.92 MB / 463.5 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3342, allocations: 0 / 463.5 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.3356, allocations: 0.7637 MB / 464.2 MB, free: 3.566 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003085/0.3359, allocations: 123.4 kB / 464.4 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.336, allocations: 20 kB / 464.4 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004197/0.3364, allocations: 23.97 kB / 464.4 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/0.3365, allocations: 35.94 kB / 464.4 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.3365, allocations: 12 kB / 464.5 MB, free: 3.355 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008083/0.3373, allocations: 0.5693 MB / 465 MB, free: 2.789 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3373, allocations: 4 kB / 465 MB, free: 2.785 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008829/0.3382, allocations: 204 kB / 465.2 MB, free: 2.586 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (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.001704/0.3399, allocations: 1.339 MB / 466.6 MB, free: 1.195 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.3412, allocations: 0.6663 MB / 467.2 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3412, allocations: 0 / 467.2 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000663/0.3418, allocations: 433.8 kB / 467.7 MB, free: 56 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.3429, allocations: 227.2 kB / 467.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.3542, allocations: 7.323 MB / 475.2 MB, free: 8.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007034/0.3549, allocations: 1.008 MB / 476.2 MB, free: 7.035 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004356/0.3553, allocations: 103.2 kB / 476.3 MB, free: 6.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004915/0.3558, allocations: 375.2 kB / 476.7 MB, free: 6.562 MB / 382.1 MB Notification: Performance of SimCode: time 1.422e-06/0.3558, allocations: 4 kB / 476.7 MB, free: 6.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06381/0.4196, allocations: 19.71 MB / 496.4 MB, free: 3.117 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.13, allocations: 7.938 kB / 496.4 MB, free: 3.109 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadInertia.phi in file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.130145680999703]