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.001128/0.001129, allocations: 103.4 kB / 17.16 MB, free: 6.32 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.001131/0.001131, allocations: 190 kB / 18.07 MB, free: 5.414 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.385/1.385, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001067/0.001067, allocations: 43.94 kB / 280.1 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07913/0.08021, allocations: 46.62 MB / 326.7 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008849/0.08911, allocations: 7.911 MB / 334.6 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003833/0.09298, allocations: 2.604 MB / 337.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005581/0.09359, allocations: 23.94 kB / 337.2 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.09475, allocations: 0.4903 MB / 337.7 MB, free: 9.711 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007478/0.09551, allocations: 393.2 kB / 338.1 MB, free: 9.324 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.09585, allocations: 207.8 kB / 338.3 MB, free: 9.121 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.09692, allocations: 1.358 MB / 339.7 MB, free: 7.758 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006121/0.09754, allocations: 0.5006 MB / 340.2 MB, free: 7.234 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004817/0.09803, allocations: 497.8 kB / 340.7 MB, free: 6.746 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004606/0.0985, allocations: 0.552 MB / 341.2 MB, free: 6.191 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.09862, allocations: 84 kB / 341.3 MB, free: 6.109 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002491/0.09888, allocations: 124 kB / 341.4 MB, free: 5.988 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.09904, allocations: 215 kB / 341.6 MB, free: 5.777 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004628/0.09951, allocations: 0.6024 MB / 342.2 MB, free: 5.172 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.1007, allocations: 1.631 MB / 343.9 MB, free: 3.535 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1007, allocations: 3.984 kB / 343.9 MB, free: 3.531 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1007, allocations: 0 / 343.9 MB, free: 3.531 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.1007, allocations: 4 kB / 343.9 MB, free: 3.527 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.002012/0.1027, allocations: 1.425 MB / 345.3 MB, free: 2.047 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1028, allocations: 12.03 kB / 345.3 MB, free: 2.035 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.1029, allocations: 144.3 kB / 345.4 MB, free: 1.887 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005145/0.1034, allocations: 175.3 kB / 345.6 MB, free: 1.715 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009142/0.1044, allocations: 0.7259 MB / 346.3 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.523e-05/0.1044, allocations: 70 kB / 346.4 MB, free: 0.875 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.1046, allocations: 92 kB / 346.5 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.106, allocations: 0.919 MB / 347.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.1061, allocations: 11.98 kB / 347.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-05/0.1061, allocations: 40 kB / 347.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.1062, allocations: 24 kB / 347.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.1073, allocations: 0.6285 MB / 348.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004208/0.1115, allocations: 3.917 MB / 352 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005112/0.112, allocations: 355.5 kB / 352.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/0.1123, allocations: 148.8 kB / 352.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.1123, allocations: 4 kB / 352.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.1124, allocations: 38.5 kB / 352.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.623e-06/0.1124, allocations: 0 / 352.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001986/0.1144, allocations: 1.195 MB / 353.8 MB, free: 9.133 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.1144, allocations: 81.11 kB / 353.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009217/0.1154, allocations: 0.8253 MB / 354.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.1154, allocations: 29.7 kB / 354.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/0.1158, allocations: 0.5679 MB / 355.3 MB, free: 7.586 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.205e-05/0.1158, allocations: 122.2 kB / 355.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.116, allocations: 130.5 kB / 355.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1161, allocations: 337.9 kB / 355.8 MB, free: 6.992 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.1164, allocations: 145.9 kB / 356 MB, free: 6.852 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004492/0.1169, allocations: 463.9 kB / 356.4 MB, free: 6.258 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007782/0.1176, allocations: 0.6353 MB / 357.1 MB, free: 5.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1177, allocations: 4 kB / 357.1 MB, free: 5.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001045/0.1187, allocations: 0.6885 MB / 357.8 MB, free: 4.777 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1187, allocations: 15.31 kB / 357.8 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.1188, allocations: 15.98 kB / 357.8 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001323/0.1189, allocations: 32.84 kB / 357.8 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004451/0.1194, allocations: 159.7 kB / 358 MB, free: 4.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008925/0.1203, allocations: 1.299 MB / 359.3 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004353/0.1207, allocations: 31.98 kB / 359.3 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.394e-05/0.1208, allocations: 36 kB / 359.3 MB, free: 3.059 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.0003028/0.1211, allocations: 265.1 kB / 359.6 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-05/0.1212, allocations: 82.97 kB / 359.7 MB, free: 2.711 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006835/0.1219, allocations: 378.1 kB / 360.1 MB, free: 2.328 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1219, allocations: 4 kB / 360.1 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.1219, allocations: 0 / 360.1 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1219, allocations: 7.922 kB / 360.1 MB, free: 2.316 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.1235, allocations: 1.265 MB / 361.3 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.1235, allocations: 4 kB / 361.3 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/0.1238, allocations: 71.89 kB / 361.4 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-05/0.1239, allocations: 24.84 kB / 361.4 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.1239, allocations: 11.94 kB / 361.4 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007879/0.1247, allocations: 1.276 MB / 362.7 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.1247, allocations: 4 kB / 362.7 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008969/0.1257, allocations: 0.6354 MB / 363.4 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.1259, allocations: 184.2 kB / 363.5 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.608e-05/0.126, allocations: 8 kB / 363.5 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.1263, allocations: 23.98 kB / 363.6 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.1264, allocations: 35.84 kB / 363.6 MB, free: 14.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.1264, allocations: 15.98 kB / 363.6 MB, free: 14.49 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006536/0.1271, allocations: 0.5537 MB / 364.2 MB, free: 13.95 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1271, allocations: 0 / 364.2 MB, free: 13.95 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006247/0.1277, allocations: 188 kB / 364.4 MB, free: 13.76 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.001203/0.1289, allocations: 1.188 MB / 365.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008568/0.1298, allocations: 0.5231 MB / 366.1 MB, free: 11.99 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1298, allocations: 0.75 kB / 366.1 MB, free: 11.99 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003534/0.1302, allocations: 266.5 kB / 366.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009888/0.1312, allocations: 203.9 kB / 366.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.1418, allocations: 7.983 MB / 374.5 MB, free: 3.051 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000632/0.1425, allocations: 0.9923 MB / 375.5 MB, free: 2.031 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004352/0.1429, allocations: 106.9 kB / 375.6 MB, free: 1.922 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003898/0.1433, allocations: 363.3 kB / 376 MB, free: 1.566 MB / 318.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1434, allocations: 0 / 376 MB, free: 1.566 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1664/0.3098, allocations: 16.9 MB / 392.9 MB, free: 47.74 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001458/0.3099, allocations: 247.2 kB / 393.1 MB, free: 47.48 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.122/2.432, allocations: 0 / 393.1 MB, free: 47.48 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