Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001519/0.001519, allocations: 117.5 kB / 19.17 MB, free: 3.922 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.001662/0.001662, allocations: 203.9 kB / 22.12 MB, free: 0.9805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 207.6 MB / 232.5 MB, free: 3.926 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 51.92 kB / 343 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09499/0.09673, allocations: 49.12 MB / 392.1 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009471/0.1062, allocations: 7.981 MB / 400.1 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004579/0.1108, allocations: 2.646 MB / 402.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006772/0.1115, allocations: 27.88 kB / 402.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.1129, allocations: 0.5754 MB / 403.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009875/0.1139, allocations: 492.4 kB / 403.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.1143, allocations: 239.7 kB / 404.1 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001363/0.1157, allocations: 1.432 MB / 405.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005954/0.1163, allocations: 406.8 kB / 405.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006258/0.1169, allocations: 0.5564 MB / 406.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006278/0.1175, allocations: 0.5833 MB / 407 MB, free: 9.719 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.1177, allocations: 140 kB / 407.2 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.118, allocations: 172 kB / 407.3 MB, free: 9.414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.1182, allocations: 271 kB / 407.6 MB, free: 9.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000545/0.1187, allocations: 0.6454 MB / 408.2 MB, free: 8.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001689/0.1204, allocations: 1.712 MB / 410 MB, free: 6.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1204, allocations: 4 kB / 410 MB, free: 6.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1204, allocations: 0 / 410 MB, free: 6.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.1204, allocations: 0 / 410 MB, free: 6.777 MB / 334.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.002272/0.1227, allocations: 1.459 MB / 411.4 MB, free: 5.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1228, allocations: 12.03 kB / 411.4 MB, free: 5.254 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.283e-05/0.1228, allocations: 26.19 kB / 411.5 MB, free: 5.227 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001595/0.1229, allocations: 152.3 kB / 411.6 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000543/0.1235, allocations: 176 kB / 411.8 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.1246, allocations: 0.7303 MB / 412.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.833e-05/0.1247, allocations: 74 kB / 412.6 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.1248, allocations: 95.95 kB / 412.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.1263, allocations: 0.9268 MB / 413.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.491e-05/0.1263, allocations: 7.984 kB / 413.6 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-05/0.1264, allocations: 40 kB / 413.6 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.1264, allocations: 24 kB / 413.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.1276, allocations: 0.6168 MB / 414.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004889/0.1325, allocations: 3.891 MB / 418.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006049/0.1331, allocations: 339.6 kB / 418.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.1334, allocations: 140.6 kB / 418.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.795e-05/0.1335, allocations: 8 kB / 418.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.1335, allocations: 34.5 kB / 418.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.225e-06/0.1335, allocations: 0 / 418.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002383/0.1359, allocations: 1.215 MB / 419.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.136, allocations: 81.11 kB / 420 MB, free: 12.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.137, allocations: 0.8253 MB / 420.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.1371, allocations: 37.64 kB / 420.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004407/0.1375, allocations: 0.5812 MB / 421.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.1376, allocations: 126.9 kB / 421.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.1378, allocations: 134.5 kB / 421.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1379, allocations: 341.9 kB / 422 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.1382, allocations: 145.9 kB / 422.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005378/0.1388, allocations: 452 kB / 422.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008954/0.1397, allocations: 0.6323 MB / 423.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1397, allocations: 0 / 423.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001149/0.1408, allocations: 0.6967 MB / 423.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.1409, allocations: 15.97 kB / 423.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/0.1409, allocations: 12 kB / 424 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001684/0.141, allocations: 32.84 kB / 424 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/0.1415, allocations: 155.7 kB / 424.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.1426, allocations: 1.398 MB / 425.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004405/0.1431, allocations: 39.94 kB / 425.6 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/0.1431, allocations: 36.12 kB / 425.6 MB, free: 6.156 MB / 350.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.0003354/0.1435, allocations: 249.6 kB / 425.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.1436, allocations: 87.42 kB / 425.9 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007453/0.1443, allocations: 378.5 kB / 426.3 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.1443, allocations: 11.98 kB / 426.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.1443, allocations: 0 / 426.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1443, allocations: 0 / 426.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.1462, allocations: 1.274 MB / 427.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1462, allocations: 0 / 427.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/0.1465, allocations: 71.89 kB / 427.7 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.671e-05/0.1466, allocations: 20.86 kB / 427.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.1466, allocations: 8 kB / 427.7 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.1478, allocations: 1.371 MB / 429.1 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.1478, allocations: 8.094 kB / 429.1 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.1488, allocations: 0.6321 MB / 429.7 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.1491, allocations: 192.5 kB / 429.9 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-05/0.1492, allocations: 11.94 kB / 429.9 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/0.1495, allocations: 27.97 kB / 429.9 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/0.1496, allocations: 27.91 kB / 430 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.1496, allocations: 12 kB / 430 MB, free: 1.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007919/0.1504, allocations: 0.5615 MB / 430.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1504, allocations: 0 / 430.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006825/0.1511, allocations: 188 kB / 430.7 MB, free: 0.7461 MB / 350.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.00145/0.1525, allocations: 1.211 MB / 431.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009965/0.1535, allocations: 0.4895 MB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1535, allocations: 0 / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004201/0.154, allocations: 258.4 kB / 432.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009629/0.1549, allocations: 223.8 kB / 432.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009698/0.1646, allocations: 7.114 MB / 440 MB, free: 6.926 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006149/0.1652, allocations: 0.9923 MB / 441 MB, free: 5.906 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003337/0.1656, allocations: 106.9 kB / 441.1 MB, free: 5.797 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000448/0.166, allocations: 371.3 kB / 441.5 MB, free: 5.434 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.166, allocations: 0 / 441.5 MB, free: 5.434 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04535/0.2114, allocations: 18.08 MB / 459.5 MB, free: 3.277 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.38, allocations: 16.03 kB / 459.6 MB, free: 3.262 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 16.216664929001126]