Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.001885/0.001885, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002367/0.002367, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.DCSE_Start,fileNamePrefix="Modelica_4_1_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_1_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.001552/0.001552, allocations: 51.92 kB / 377.8 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3015, allocations: 53.36 MB / 431.1 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01072/0.3122, allocations: 8.181 MB / 439.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005365/0.3176, allocations: 2.677 MB / 442 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.3188, allocations: 27.88 kB / 442 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.3205, allocations: 0.5754 MB / 442.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.3221, allocations: 0.4886 MB / 443.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.3226, allocations: 255.7 kB / 443.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001675/0.3243, allocations: 1.47 MB / 444.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006803/0.325, allocations: 417.1 kB / 445.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007613/0.3258, allocations: 0.5759 MB / 445.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007114/0.3265, allocations: 0.595 MB / 446.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.3266, allocations: 140 kB / 446.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000322/0.327, allocations: 176 kB / 446.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.3272, allocations: 279 kB / 447 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006131/0.3278, allocations: 0.6648 MB / 447.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002017/0.3298, allocations: 1.731 MB / 449.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3298, allocations: 0 / 449.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3298, allocations: 4 kB / 449.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.3298, allocations: 0 / 449.4 MB, free: 4.57 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.002428/0.3323, allocations: 1.403 MB / 450.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.3323, allocations: 12.03 kB / 450.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001836/0.3325, allocations: 152.4 kB / 450.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000658/0.3332, allocations: 192 kB / 451.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.3344, allocations: 0.6727 MB / 451.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.3345, allocations: 70 kB / 451.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.3346, allocations: 111.9 kB / 452 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.3362, allocations: 0.9268 MB / 452.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.3362, allocations: 4 kB / 452.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.501e-05/0.3363, allocations: 40 kB / 452.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.3363, allocations: 28 kB / 453 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.3375, allocations: 0.6363 MB / 453.6 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005266/0.3428, allocations: 3.786 MB / 457.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006611/0.3435, allocations: 343.5 kB / 457.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005726/0.344, allocations: 249.3 kB / 458 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.3441, allocations: 4.328 kB / 458 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.3441, allocations: 34.89 kB / 458 MB, free: 11.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 3.327e-06/0.3441, allocations: 7.938 kB / 458 MB, free: 11.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002899/0.347, allocations: 1.268 MB / 459.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.3471, allocations: 81.11 kB / 459.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.3482, allocations: 0.8293 MB / 460.2 MB, free: 9.348 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.3482, allocations: 33.7 kB / 460.2 MB, free: 9.309 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004628/0.3487, allocations: 0.5696 MB / 460.8 MB, free: 8.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.3488, allocations: 166.6 kB / 461 MB, free: 8.566 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.349, allocations: 130.6 kB / 461.1 MB, free: 8.434 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3492, allocations: 330 kB / 461.4 MB, free: 8.105 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003304/0.3495, allocations: 169.9 kB / 461.6 MB, free: 7.938 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005429/0.35, allocations: 467.9 kB / 462 MB, free: 7.348 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008996/0.3509, allocations: 0.6583 MB / 462.7 MB, free: 6.555 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.3509, allocations: 4 kB / 462.7 MB, free: 6.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001362/0.3523, allocations: 0.771 MB / 463.5 MB, free: 5.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.3523, allocations: 12 kB / 463.5 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.3523, allocations: 8 kB / 463.5 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003187/0.3527, allocations: 81.88 kB / 463.6 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004916/0.3532, allocations: 155.7 kB / 463.7 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/0.3558, allocations: 2.939 MB / 466.7 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006622/0.3564, allocations: 35.94 kB / 466.7 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/0.3565, allocations: 32 kB / 466.7 MB, free: 2.277 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.0004671/0.3569, allocations: 263.3 kB / 467 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.3571, allocations: 87.44 kB / 467.1 MB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009495/0.358, allocations: 499.4 kB / 467.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.358, allocations: 4 kB / 467.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.358, allocations: 0 / 467.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.358, allocations: 7.984 kB / 467.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002182/0.3602, allocations: 1.404 MB / 469 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.3602, allocations: 8.125 kB / 469 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.3605, allocations: 72.12 kB / 469 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002063/0.3607, allocations: 69.67 kB / 469.1 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.3608, allocations: 12 kB / 469.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002512/0.3633, allocations: 2.919 MB / 472 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.3633, allocations: 4.031 kB / 472 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.3646, allocations: 0.7667 MB / 472.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003135/0.365, allocations: 131.4 kB / 472.9 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.38e-05/0.365, allocations: 16 kB / 473 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.3655, allocations: 27.98 kB / 473 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.144e-05/0.3656, allocations: 35.88 kB / 473 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.3656, allocations: 15.98 kB / 473 MB, free: 11.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008626/0.3664, allocations: 0.5576 MB / 473.6 MB, free: 11.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3664, allocations: 4 kB / 473.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008771/0.3673, allocations: 204 kB / 473.8 MB, free: 10.82 MB / 382.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.001641/0.369, allocations: 1.342 MB / 475.1 MB, free: 9.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001279/0.3702, allocations: 0.6742 MB / 475.8 MB, free: 8.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3702, allocations: 0 / 475.8 MB, free: 8.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006567/0.3709, allocations: 429.8 kB / 476.2 MB, free: 8.285 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.3719, allocations: 225.7 kB / 476.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.3826, allocations: 7.321 MB / 483.8 MB, free: 320 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006951/0.3833, allocations: 1.009 MB / 484.8 MB, free: 15.28 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004066/0.3837, allocations: 111.2 kB / 484.9 MB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004741/0.3842, allocations: 367.3 kB / 485.3 MB, free: 14.8 MB / 398.1 MB Notification: Performance of SimCode: time 1.533e-06/0.3842, allocations: 4 kB / 485.3 MB, free: 14.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07362/0.4578, allocations: 19.72 MB / 0.4931 GB, free: 11.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/13.69, allocations: 0 / 0.4931 GB, free: 11.35 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_4.1.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.803099606000615]