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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",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="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 114.3 kB / 17.28 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 189.3 kB / 18.2 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.232/1.232, allocations: 205.1 MB / 224.1 MB, free: 12.36 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 56.14 kB / 280.3 MB, free: 3.387 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07775/0.07892, allocations: 46.64 MB / 326.9 MB, free: 4.68 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008651/0.08761, allocations: 7.911 MB / 334.8 MB, free: 12.72 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004087/0.09173, allocations: 2.6 MB / 337.4 MB, free: 10.11 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008684/0.09266, allocations: 23.94 kB / 337.4 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.09435, allocations: 498.1 kB / 337.9 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.09579, allocations: 393.2 kB / 338.3 MB, free: 9.211 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005684/0.09637, allocations: 215.8 kB / 338.5 MB, free: 9 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002031/0.09841, allocations: 1.42 MB / 339.9 MB, free: 7.574 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009823/0.09941, allocations: 0.5924 MB / 340.5 MB, free: 6.961 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007561/0.1002, allocations: 0.5368 MB / 341.1 MB, free: 6.422 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007136/0.1009, allocations: 0.5794 MB / 341.6 MB, free: 5.84 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001985/0.1011, allocations: 140 kB / 341.8 MB, free: 5.703 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003681/0.1015, allocations: 176 kB / 341.9 MB, free: 5.531 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.1017, allocations: 267 kB / 342.2 MB, free: 5.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007597/0.1025, allocations: 0.657 MB / 342.9 MB, free: 4.609 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.1041, allocations: 1.674 MB / 344.5 MB, free: 2.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.1041, allocations: 4 kB / 344.5 MB, free: 2.926 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1041, allocations: 0 / 344.5 MB, free: 2.926 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.677e-05/0.1042, allocations: 0 / 344.5 MB, free: 2.926 MB / 286.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.002751/0.107, allocations: 1.421 MB / 346 MB, free: 1.449 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.107, allocations: 8.031 kB / 346 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002145/0.1072, allocations: 160.2 kB / 346.1 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006298/0.1079, allocations: 171.3 kB / 346.3 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.1091, allocations: 0.7142 MB / 347 MB, free: 360 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.075e-05/0.1092, allocations: 73.98 kB / 347.1 MB, free: 284 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.1093, allocations: 96 kB / 347.2 MB, free: 188 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.111, allocations: 0.9229 MB / 348.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/0.111, allocations: 0 / 348.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.662e-05/0.1111, allocations: 44 kB / 348.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.87e-05/0.1112, allocations: 24 kB / 348.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.1123, allocations: 0.6207 MB / 348.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005069/0.1174, allocations: 3.916 MB / 352.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006017/0.1181, allocations: 347.7 kB / 353 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.1184, allocations: 148.8 kB / 353.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.1184, allocations: 0 / 353.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.1185, allocations: 42.5 kB / 353.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.513e-06/0.1185, allocations: 0 / 353.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002324/0.1208, allocations: 1.191 MB / 354.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/0.1209, allocations: 85.11 kB / 354.5 MB, free: 8.449 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.1219, allocations: 0.8214 MB / 355.3 MB, free: 7.621 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.122, allocations: 33.7 kB / 355.4 MB, free: 7.582 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/0.1224, allocations: 0.564 MB / 355.9 MB, free: 7.008 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.003e-05/0.1225, allocations: 138.1 kB / 356.1 MB, free: 6.871 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.1226, allocations: 122.5 kB / 356.2 MB, free: 6.742 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1228, allocations: 333.9 kB / 356.5 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.1231, allocations: 153.9 kB / 356.6 MB, free: 6.262 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004998/0.1236, allocations: 467.8 kB / 357.1 MB, free: 5.664 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008306/0.1244, allocations: 0.6314 MB / 357.7 MB, free: 4.891 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.1244, allocations: 4 kB / 357.7 MB, free: 4.887 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001171/0.1256, allocations: 0.6804 MB / 358.4 MB, free: 4.195 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.1256, allocations: 15.12 kB / 358.4 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.1257, allocations: 8 kB / 358.4 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/0.1258, allocations: 37.39 kB / 358.5 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/0.1263, allocations: 159.7 kB / 358.6 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.1275, allocations: 1.398 MB / 360 MB, free: 2.441 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005201/0.128, allocations: 31.98 kB / 360.1 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.1281, allocations: 32 kB / 360.1 MB, free: 2.379 MB / 302.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.000362/0.1284, allocations: 269.1 kB / 360.4 MB, free: 2.109 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.1286, allocations: 90.84 kB / 360.4 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007304/0.1293, allocations: 370.5 kB / 360.8 MB, free: 1.645 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1293, allocations: 4 kB / 360.8 MB, free: 1.641 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1293, allocations: 0 / 360.8 MB, free: 1.641 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1293, allocations: 3.984 kB / 360.8 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.1313, allocations: 1.269 MB / 362.1 MB, free: 296 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1313, allocations: 3.938 kB / 362.1 MB, free: 292 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003063/0.1316, allocations: 75.89 kB / 362.2 MB, free: 216 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.178e-05/0.1317, allocations: 24.84 kB / 362.2 MB, free: 188 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.1318, allocations: 8 kB / 362.2 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009385/0.1327, allocations: 1.371 MB / 363.6 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.1327, allocations: 7.938 kB / 363.6 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009578/0.1337, allocations: 0.627 MB / 364.2 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002625/0.134, allocations: 188.1 kB / 364.4 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.1341, allocations: 12 kB / 364.4 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/0.1345, allocations: 27.92 kB / 364.4 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.1346, allocations: 27.95 kB / 364.5 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.1346, allocations: 16 kB / 364.5 MB, free: 13.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007137/0.1353, allocations: 0.5537 MB / 365 MB, free: 13.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1353, allocations: 0 / 365 MB, free: 13.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006848/0.136, allocations: 192 kB / 365.2 MB, free: 12.97 MB / 318.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.001272/0.1373, allocations: 1.207 MB / 366.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009913/0.1383, allocations: 0.5158 MB / 366.9 MB, free: 11.19 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1383, allocations: 7.938 kB / 366.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003935/0.1387, allocations: 263.8 kB / 367.2 MB, free: 10.91 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.1398, allocations: 211.4 kB / 367.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.151, allocations: 7.987 MB / 375.4 MB, free: 2.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005822/0.1516, allocations: 0.9962 MB / 376.4 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004096/0.152, allocations: 102.9 kB / 376.5 MB, free: 1.102 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003956/0.1524, allocations: 363.3 kB / 376.8 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1524, allocations: 0 / 376.8 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1824/0.3349, allocations: 17.33 MB / 394.2 MB, free: 48.11 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000134/0.335, allocations: 240.4 kB / 394.4 MB, free: 47.85 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/2.38, allocations: 2.156 kB / 394.4 MB, free: 47.85 MB / 318.1 MB (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 --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) 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","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches