Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.001562/0.001562, allocations: 113.1 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.001863/0.001863, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.DCEE_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 47.92 kB / 377.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2782, allocations: 53.36 MB / 431.1 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01027/0.2885, allocations: 8.065 MB / 439.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004979/0.2934, allocations: 2.645 MB / 441.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.2945, allocations: 31.88 kB / 441.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.2962, allocations: 0.5715 MB / 442.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.2976, allocations: 488.4 kB / 442.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.2981, allocations: 243.7 kB / 443.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001905/0.3, allocations: 1.432 MB / 444.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007229/0.3008, allocations: 403.3 kB / 445 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.3019, allocations: 0.5719 MB / 445.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007809/0.3026, allocations: 0.5794 MB / 446.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.3028, allocations: 136 kB / 446.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003609/0.3032, allocations: 176 kB / 446.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002365/0.3034, allocations: 271 kB / 446.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006463/0.3041, allocations: 0.6532 MB / 447.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002025/0.3061, allocations: 1.7 MB / 449.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.201e-05/0.3061, allocations: 8 kB / 449.1 MB, free: 4.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3061, allocations: 0 / 449.1 MB, free: 4.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.109e-05/0.3061, allocations: 0 / 449.1 MB, free: 4.777 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002611/0.3087, allocations: 1.384 MB / 450.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3088, allocations: 8.031 kB / 450.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001873/0.309, allocations: 152.3 kB / 450.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005632/0.3095, allocations: 176.1 kB / 450.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.3108, allocations: 0.6609 MB / 451.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.574e-05/0.3109, allocations: 74 kB / 451.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.311, allocations: 99.98 kB / 451.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.3126, allocations: 0.919 MB / 452.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.3127, allocations: 7.953 kB / 452.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.672e-05/0.3127, allocations: 40 kB / 452.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.3128, allocations: 28 kB / 452.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.314, allocations: 0.6168 MB / 453.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005371/0.3194, allocations: 3.776 MB / 457 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005713/0.32, allocations: 270.7 kB / 457.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.3203, allocations: 136.7 kB / 457.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.3203, allocations: 4 kB / 457.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.3203, allocations: 38.5 kB / 457.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.784e-06/0.3203, allocations: 0 / 457.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002352/0.3227, allocations: 1.044 MB / 458.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.3228, allocations: 85.05 kB / 458.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.3239, allocations: 0.8253 MB / 459.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.3239, allocations: 37.7 kB / 459.4 MB, free: 10.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005233/0.3244, allocations: 0.585 MB / 460 MB, free: 9.414 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.3245, allocations: 134.9 kB / 460.2 MB, free: 9.281 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.3247, allocations: 122.6 kB / 460.3 MB, free: 9.156 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3249, allocations: 333.9 kB / 460.6 MB, free: 8.824 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.3252, allocations: 149.9 kB / 460.7 MB, free: 8.676 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/0.3258, allocations: 464 kB / 461.2 MB, free: 8.082 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009354/0.3267, allocations: 0.6435 MB / 461.8 MB, free: 7.297 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3267, allocations: 4 kB / 461.9 MB, free: 7.293 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001228/0.3279, allocations: 0.6887 MB / 462.5 MB, free: 6.594 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.328, allocations: 15.94 kB / 462.6 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.328, allocations: 8 kB / 462.6 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001831/0.3282, allocations: 41.22 kB / 462.6 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005039/0.3287, allocations: 155.8 kB / 462.8 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.3299, allocations: 1.291 MB / 464 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/0.3304, allocations: 35.98 kB / 464.1 MB, free: 4.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.3305, allocations: 32 kB / 464.1 MB, free: 4.906 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * 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.0003914/0.3308, allocations: 253.8 kB / 464.4 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.331, allocations: 95.44 kB / 464.5 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007452/0.3317, allocations: 378.3 kB / 464.8 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.3317, allocations: 4 kB / 464.8 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.3317, allocations: 0 / 464.8 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.3317, allocations: 3.984 kB / 464.8 MB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.3337, allocations: 1.234 MB / 466.1 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.3337, allocations: 11.94 kB / 466.1 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.334, allocations: 76.12 kB / 466.2 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/0.3341, allocations: 24.84 kB / 466.2 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.3342, allocations: 8 kB / 466.2 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.3352, allocations: 1.275 MB / 467.5 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3352, allocations: 0 / 467.5 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.3363, allocations: 0.6285 MB / 468.1 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002753/0.3366, allocations: 115.4 kB / 468.2 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.793e-05/0.3367, allocations: 12 kB / 468.2 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.3371, allocations: 27.91 kB / 468.2 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.3371, allocations: 31.89 kB / 468.3 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.3372, allocations: 12 kB / 468.3 MB, free: 488 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008363/0.338, allocations: 0.5654 MB / 468.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.338, allocations: 0 / 468.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007587/0.3387, allocations: 188 kB / 469 MB, free: 15.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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.00152/0.3403, allocations: 1.207 MB / 470.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.3413, allocations: 492.5 kB / 470.7 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3413, allocations: 0 / 470.7 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004286/0.3418, allocations: 267.2 kB / 471 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.3428, allocations: 218.2 kB / 471.2 MB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.3537, allocations: 7.138 MB / 478.3 MB, free: 5.914 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007164/0.3544, allocations: 0.9923 MB / 479.3 MB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004076/0.3549, allocations: 98.89 kB / 479.4 MB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005179/0.3554, allocations: 367.3 kB / 479.8 MB, free: 4.434 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3554, allocations: 0 / 479.8 MB, free: 4.434 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07195/0.4273, allocations: 18.5 MB / 498.3 MB, free: 2.188 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.38, allocations: 0 / 498.3 MB, free: 2.188 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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_DCEE_Start.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.DCEE_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.47728956699939]