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.0008245/0.0008245, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008462/0.0008462, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8805/0.8805, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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 1.664e-06/1.664e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.612e-05, allocations: 6.219 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.005694/0.00571, allocations: 7.083 MB / 331.7 MB, free: 8.809 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003/0.00871, allocations: 2.462 MB / 334.1 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004239/0.009134, allocations: 27.88 kB / 334.1 MB, free: 6.312 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.01019, allocations: 0.5207 MB / 334.7 MB, free: 5.789 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000719/0.01091, allocations: 0.5077 MB / 335.2 MB, free: 5.277 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.01124, allocations: 239.7 kB / 335.4 MB, free: 5.043 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009702/0.01221, allocations: 1.493 MB / 336.9 MB, free: 3.547 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000444/0.01266, allocations: 371.9 kB / 337.3 MB, free: 3.164 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009399/0.0136, allocations: 0.834 MB / 338.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003704/0.01397, allocations: 434.6 kB / 338.5 MB, free: 1.902 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.01407, allocations: 132 kB / 338.7 MB, free: 1.773 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.01427, allocations: 175.9 kB / 338.8 MB, free: 1.602 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.0144, allocations: 282.9 kB / 339.1 MB, free: 1.324 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003087/0.0147, allocations: 458.8 kB / 339.5 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.01581, allocations: 1.698 MB / 341.2 MB, free: 15.17 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.01581, allocations: 0 / 341.2 MB, free: 15.17 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01581, allocations: 3.938 kB / 341.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.01583, allocations: 0 / 341.2 MB, free: 15.16 MB / 314.7 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.001395/0.01722, allocations: 1.372 MB / 342.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.01726, allocations: 8.031 kB / 342.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/0.01737, allocations: 148.3 kB / 342.8 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/0.01766, allocations: 176 kB / 342.9 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007319/0.01839, allocations: 0.6649 MB / 343.6 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.01843, allocations: 74 kB / 343.7 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.4e-05/0.01851, allocations: 99.95 kB / 343.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009523/0.01946, allocations: 0.9982 MB / 344.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.01949, allocations: 11.92 kB / 344.8 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.533e-05/0.01953, allocations: 36 kB / 344.8 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.01955, allocations: 24 kB / 344.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007418/0.02029, allocations: 0.6246 MB / 345.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002938/0.02323, allocations: 3.481 MB / 349 MB, free: 7.117 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.02358, allocations: 268.8 kB / 349.2 MB, free: 6.848 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.02374, allocations: 144.7 kB / 349.4 MB, free: 6.703 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.02376, allocations: 4.531 kB / 349.4 MB, free: 6.699 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.02378, allocations: 38.5 kB / 349.4 MB, free: 6.652 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.363e-06/0.02378, allocations: 0 / 349.4 MB, free: 6.652 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.001308/0.02509, allocations: 1.055 MB / 350.5 MB, free: 5.562 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.02513, allocations: 81.11 kB / 350.5 MB, free: 5.465 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006699/0.0258, allocations: 0.8446 MB / 351.4 MB, free: 4.609 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.02582, allocations: 33.7 kB / 351.4 MB, free: 4.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.02607, allocations: 0.5812 MB / 352 MB, free: 3.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.012e-05/0.02614, allocations: 130.9 kB / 352.1 MB, free: 3.852 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.02624, allocations: 126.6 kB / 352.2 MB, free: 3.723 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.116e-05/0.02632, allocations: 337.9 kB / 352.6 MB, free: 3.387 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.0265, allocations: 149.9 kB / 352.7 MB, free: 3.238 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000435/0.02693, allocations: 477.9 kB / 353.2 MB, free: 2.625 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005252/0.02746, allocations: 0.6393 MB / 353.8 MB, free: 1.844 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.02746, allocations: 0 / 353.8 MB, free: 1.844 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.000677/0.02814, allocations: 0.6964 MB / 354.5 MB, free: 1.137 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.02815, allocations: 10.97 kB / 354.5 MB, free: 1.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.02816, allocations: 12 kB / 354.5 MB, free: 1.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001221/0.02828, allocations: 36.78 kB / 354.6 MB, free: 1.078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.02854, allocations: 156.1 kB / 354.7 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006548/0.02919, allocations: 1.291 MB / 356 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.02943, allocations: 35.98 kB / 356.1 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.02946, allocations: 35.94 kB / 356.1 MB, free: 15.45 MB / 330.7 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.0002123/0.02967, allocations: 257.7 kB / 356.3 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.444e-05/0.02973, allocations: 87.44 kB / 356.4 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004099/0.03014, allocations: 378.4 kB / 356.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.03015, allocations: 4 kB / 356.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.03015, allocations: 0 / 356.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.03015, allocations: 3.938 kB / 356.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.03125, allocations: 1.145 MB / 358 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.03126, allocations: 0 / 358 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.03142, allocations: 75.89 kB / 358 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-05/0.03148, allocations: 28.8 kB / 358.1 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.0315, allocations: 15.92 kB / 358.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005653/0.03206, allocations: 1.271 MB / 359.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.03206, allocations: 0 / 359.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008392/0.0329, allocations: 0.6325 MB / 360 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.03304, allocations: 115.4 kB / 360.1 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.03308, allocations: 8 kB / 360.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.03326, allocations: 19.98 kB / 360.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/0.03331, allocations: 35.89 kB / 360.2 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.03333, allocations: 8 kB / 360.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004671/0.03379, allocations: 0.5615 MB / 360.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03379, allocations: 3.938 kB / 360.7 MB, free: 10.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004204/0.03421, allocations: 191.9 kB / 360.9 MB, free: 10.38 MB / 330.7 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.0008143/0.03503, allocations: 1.204 MB / 362.1 MB, free: 9.117 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005624/0.03559, allocations: 0.4959 MB / 362.6 MB, free: 8.609 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.03559, allocations: 0 / 362.6 MB, free: 8.609 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.03581, allocations: 250.5 kB / 362.9 MB, free: 8.352 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006066/0.03641, allocations: 210.5 kB / 363.1 MB, free: 8.152 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007026/0.04344, allocations: 7.049 MB / 370.1 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.0437, allocations: 405 kB / 370.5 MB, free: 224 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002411/0.04394, allocations: 106.9 kB / 370.6 MB, free: 112 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002971/0.04424, allocations: 364.5 kB / 371 MB, free: 15.75 MB / 346.7 MB Notification: Performance of SimCode: time 6.81e-07/0.04424, allocations: 0 / 371 MB, free: 15.75 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.07654, allocations: 19.63 MB / 390.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.302/7.379, allocations: 10.89 kB / 390.6 MB, free: 12.41 MB / 362.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.740095308050513]