Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_trunk_cpp_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/Complex trunk/package.mo): time 0.0009163/0.0009164, allocations: 195.3 kB / 17.38 MB, free: 4.316 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.172/1.172, allocations: 226.5 MB / 244.7 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007147/0.0007147, allocations: 100 kB / 296.7 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002069/0.000207, allocations: 8 kB / 356.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.168, allocations: 51.3 MB / 408.1 MB, free: 27.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.004749/0.1728, allocations: 7.038 MB / 415.2 MB, free: 20.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.1749, allocations: 2.464 MB / 417.6 MB, free: 18.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003039/0.1752, allocations: 23.94 kB / 417.7 MB, free: 18.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007559/0.176, allocations: 453.4 kB / 418.1 MB, free: 17.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000469/0.1764, allocations: 377.2 kB / 418.5 MB, free: 17.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.1767, allocations: 151.8 kB / 418.6 MB, free: 17.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007067/0.1774, allocations: 1.323 MB / 420 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004762/0.1779, allocations: 0.4928 MB / 420.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003279/0.1782, allocations: 449.9 kB / 420.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003054/0.1785, allocations: 485.7 kB / 421.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.027e-05/0.1786, allocations: 67.94 kB / 421.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.1788, allocations: 104 kB / 421.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.377e-05/0.1789, allocations: 195 kB / 421.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000307/0.1792, allocations: 0.5615 MB / 422.3 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000673/0.1799, allocations: 1.332 MB / 423.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1799, allocations: 0 / 423.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.1799, allocations: 4 kB / 423.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.1799, allocations: 7.938 kB / 423.6 MB, free: 12.12 MB / 298.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.001396/0.1813, allocations: 1.231 MB / 424.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1814, allocations: 8.031 kB / 424.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.1815, allocations: 156.3 kB / 425 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004126/0.1819, allocations: 171.4 kB / 425.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007191/0.1827, allocations: 0.7111 MB / 425.9 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/0.1827, allocations: 74 kB / 426 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.928e-05/0.1828, allocations: 99.91 kB / 426.1 MB, free: 9.578 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.184, allocations: 0.9229 MB / 427 MB, free: 8.629 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.184, allocations: 7.984 kB / 427 MB, free: 8.621 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.774e-05/0.1841, allocations: 44 kB / 427 MB, free: 8.578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.1841, allocations: 24 kB / 427.1 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009673/0.1851, allocations: 0.6246 MB / 427.7 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003239/0.1883, allocations: 3.94 MB / 431.6 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/0.1888, allocations: 353.3 kB / 432 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.189, allocations: 152.8 kB / 432.1 MB, free: 3.223 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.189, allocations: 4 kB / 432.1 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.1891, allocations: 34.56 kB / 432.2 MB, free: 3.176 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.904e-06/0.1891, allocations: 4 kB / 432.2 MB, free: 3.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001681/0.1908, allocations: 1.222 MB / 433.4 MB, free: 1.875 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.1908, allocations: 81.11 kB / 433.5 MB, free: 1.777 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007392/0.1915, allocations: 0.8291 MB / 434.3 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1916, allocations: 29.7 kB / 434.3 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.1918, allocations: 0.564 MB / 434.9 MB, free: 340 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/0.1918, allocations: 130.2 kB / 435 MB, free: 208 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.806e-05/0.1919, allocations: 12 kB / 435 MB, free: 196 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.996e-05/0.192, allocations: 334 kB / 435.3 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.1922, allocations: 161.8 kB / 435.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004751/0.1927, allocations: 460 kB / 436 MB, free: 15.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000776/0.1935, allocations: 0.6477 MB / 436.6 MB, free: 14.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.1935, allocations: 4 kB / 436.6 MB, free: 14.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00104/0.1946, allocations: 0.6961 MB / 437.3 MB, free: 13.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1946, allocations: 14.81 kB / 437.3 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.1946, allocations: 11.94 kB / 437.3 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001272/0.1948, allocations: 41.22 kB / 437.4 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/0.1952, allocations: 163.7 kB / 437.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008411/0.1961, allocations: 1.28 MB / 438.8 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/0.1965, allocations: 43.83 kB / 438.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.1965, allocations: 36 kB / 438.9 MB, free: 11.89 MB / 314.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002961/0.1968, allocations: 266.1 kB / 439.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1969, allocations: 82.97 kB / 439.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006705/0.1976, allocations: 383.5 kB / 439.6 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.1976, allocations: 7.938 kB / 439.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.1976, allocations: 0 / 439.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1976, allocations: 3.984 kB / 439.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.1993, allocations: 1.277 MB / 440.9 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1993, allocations: 7.984 kB / 440.9 MB, free: 9.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.1996, allocations: 67.91 kB / 441 MB, free: 9.703 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.852e-05/0.1997, allocations: 28.78 kB / 441 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.1997, allocations: 8 kB / 441 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007054/0.2004, allocations: 1.28 MB / 442.3 MB, free: 8.254 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2004, allocations: 3.938 kB / 442.3 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008795/0.2013, allocations: 0.6546 MB / 442.9 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.2015, allocations: 188.1 kB / 443.1 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/0.2016, allocations: 16 kB / 443.1 MB, free: 7.332 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.2019, allocations: 23.98 kB / 443.2 MB, free: 7.309 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.202, allocations: 27.95 kB / 443.2 MB, free: 7.281 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.202, allocations: 8 kB / 443.2 MB, free: 7.273 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006114/0.2026, allocations: 0.5537 MB / 443.7 MB, free: 6.727 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2026, allocations: 0 / 443.7 MB, free: 6.727 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005431/0.2032, allocations: 199.9 kB / 443.9 MB, free: 6.531 MB / 314.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001152/0.2043, allocations: 1.207 MB / 445.2 MB, free: 5.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008017/0.2052, allocations: 0.5158 MB / 445.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2052, allocations: 3.938 kB / 445.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.2055, allocations: 275.2 kB / 445.9 MB, free: 4.457 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.2066, allocations: 203.8 kB / 446.1 MB, free: 4.262 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007074/0.2137, allocations: 5.152 MB / 451.3 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.2142, allocations: 0.9998 MB / 452.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000398/0.2146, allocations: 371.3 kB / 452.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2146, allocations: 0 / 452.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.64/3.855, allocations: 18.42 MB / 471.1 MB, free: 10.98 MB / 346.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches