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.0008839/0.0008839, allocations: 96.33 kB / 17.3 MB, free: 6.348 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.0009602/0.0009602, allocations: 175.6 kB / 18.21 MB, free: 5.531 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.451/1.451, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004418/0.0004418, allocations: 11.98 kB / 281.5 MB, free: 3.316 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08682/0.08727, allocations: 47.58 MB / 329.1 MB, free: 3.66 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008153/0.09547, allocations: 7.428 MB / 336.5 MB, free: 12.19 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004346/0.09985, allocations: 2.58 MB / 339.1 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009268/0.1008, allocations: 23.94 kB / 339.1 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.1022, allocations: 490.1 kB / 339.6 MB, free: 9.094 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.1033, allocations: 389.2 kB / 339.9 MB, free: 8.711 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.1038, allocations: 215.8 kB / 340.2 MB, free: 8.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.1051, allocations: 1.354 MB / 341.5 MB, free: 7.141 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007162/0.1058, allocations: 0.5044 MB / 342 MB, free: 6.613 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006039/0.1065, allocations: 449.8 kB / 342.5 MB, free: 6.172 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005231/0.107, allocations: 0.5013 MB / 343 MB, free: 5.668 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.894e-05/0.1071, allocations: 64 kB / 343 MB, free: 5.605 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002619/0.1074, allocations: 104 kB / 343.1 MB, free: 5.504 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.1075, allocations: 195 kB / 343.3 MB, free: 5.312 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004918/0.108, allocations: 0.5884 MB / 343.9 MB, free: 4.715 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.1094, allocations: 1.595 MB / 345.5 MB, free: 3.113 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1094, allocations: 0 / 345.5 MB, free: 3.113 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1094, allocations: 4 kB / 345.5 MB, free: 3.109 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.1095, allocations: 0 / 345.5 MB, free: 3.109 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.002006/0.1115, allocations: 1.235 MB / 346.7 MB, free: 1.82 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1115, allocations: 15.97 kB / 346.8 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.1117, allocations: 152.3 kB / 346.9 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005122/0.1122, allocations: 171.4 kB / 347.1 MB, free: 1.48 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.1132, allocations: 0.7104 MB / 347.8 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.148e-05/0.1133, allocations: 70 kB / 347.8 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.1134, allocations: 107.9 kB / 348 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.115, allocations: 0.9307 MB / 348.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.115, allocations: 4 kB / 348.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-05/0.1151, allocations: 40 kB / 348.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.1151, allocations: 27.94 kB / 349 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.1163, allocations: 0.6364 MB / 349.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004841/0.1212, allocations: 3.932 MB / 353.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000549/0.1217, allocations: 355.3 kB / 353.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.122, allocations: 156.8 kB / 354 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.1221, allocations: 4 kB / 354 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.1221, allocations: 42.48 kB / 354.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.974e-06/0.1221, allocations: 0 / 354.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002365/0.1245, allocations: 1.234 MB / 355.3 MB, free: 8.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.1245, allocations: 81.11 kB / 355.4 MB, free: 8.723 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.1257, allocations: 0.8253 MB / 356.2 MB, free: 7.887 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.1257, allocations: 29.7 kB / 356.2 MB, free: 7.852 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000388/0.1261, allocations: 0.564 MB / 356.8 MB, free: 7.277 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.546e-05/0.1262, allocations: 138.2 kB / 356.9 MB, free: 7.141 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/0.1263, allocations: 53.69 kB / 357 MB, free: 7.082 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1264, allocations: 337.9 kB / 357.3 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.1267, allocations: 157.9 kB / 357.5 MB, free: 6.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004929/0.1272, allocations: 463.9 kB / 357.9 MB, free: 5.996 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008523/0.1281, allocations: 0.651 MB / 358.6 MB, free: 5.203 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1281, allocations: 3.938 kB / 358.6 MB, free: 5.199 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001138/0.1292, allocations: 0.7 MB / 359.3 MB, free: 4.488 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1293, allocations: 12 kB / 359.3 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.1293, allocations: 8.5 kB / 359.3 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.1295, allocations: 40.84 kB / 359.3 MB, free: 4.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/0.1299, allocations: 159.7 kB / 359.5 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.131, allocations: 1.295 MB / 360.8 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004915/0.1315, allocations: 43.88 kB / 360.8 MB, free: 2.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.1315, allocations: 36 kB / 360.9 MB, free: 2.766 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.0003987/0.1319, allocations: 261.1 kB / 361.1 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.1321, allocations: 90.84 kB / 361.2 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007423/0.1328, allocations: 390.1 kB / 361.6 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1328, allocations: 4 kB / 361.6 MB, free: 2.012 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1328, allocations: 0 / 361.6 MB, free: 2.012 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1328, allocations: 7.984 kB / 361.6 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.1346, allocations: 1.281 MB / 362.9 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1346, allocations: 4 kB / 362.9 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.1349, allocations: 75.91 kB / 363 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.272e-05/0.135, allocations: 24.84 kB / 363 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.1351, allocations: 11.94 kB / 363 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009646/0.136, allocations: 1.276 MB / 364.3 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.1361, allocations: 3.938 kB / 364.3 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009436/0.137, allocations: 0.6551 MB / 364.9 MB, free: 14.42 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.1372, allocations: 188.1 kB / 365.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.921e-05/0.1373, allocations: 8 kB / 365.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003497/0.1377, allocations: 31.97 kB / 365.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/0.1378, allocations: 27.91 kB / 365.2 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1378, allocations: 16 kB / 365.2 MB, free: 14.13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000692/0.1385, allocations: 0.5576 MB / 365.8 MB, free: 13.58 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1385, allocations: 0 / 365.8 MB, free: 13.58 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000659/0.1392, allocations: 192 kB / 365.9 MB, free: 13.39 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.001282/0.1404, allocations: 1.215 MB / 367.2 MB, free: 12.13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.1415, allocations: 0.5272 MB / 367.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1415, allocations: 0.625 kB / 367.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004134/0.1419, allocations: 278.5 kB / 368 MB, free: 11.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.1431, allocations: 195.6 kB / 368.1 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.1543, allocations: 8.126 MB / 376.3 MB, free: 2.508 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006421/0.155, allocations: 0.9923 MB / 377.3 MB, free: 1.488 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004451/0.1555, allocations: 102.9 kB / 377.4 MB, free: 1.383 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004329/0.1559, allocations: 363.3 kB / 377.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1559, allocations: 0 / 377.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2221/0.3781, allocations: 16.72 MB / 394.4 MB, free: 46.61 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/0.3783, allocations: 235.6 kB / 394.7 MB, free: 46.36 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/2.504, allocations: 0 / 394.7 MB, free: 46.36 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