Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.DCPM_Temperature,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008615/0.0008616, allocations: 201 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, 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.0007197/0.0007198, allocations: 94.19 kB / 296.7 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002039/0.0002039, allocations: 8 kB / 356.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1859, allocations: 51.29 MB / 408.1 MB, free: 27.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.005098/0.191, allocations: 7.045 MB / 415.2 MB, free: 20.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002749/0.1938, allocations: 2.476 MB / 417.7 MB, free: 18.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000385/0.1942, allocations: 20 kB / 417.7 MB, free: 18.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008369/0.195, allocations: 429.6 kB / 418.1 MB, free: 17.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005277/0.1956, allocations: 329.5 kB / 418.4 MB, free: 17.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.1959, allocations: 147.8 kB / 418.6 MB, free: 17.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000696/0.1966, allocations: 1.139 MB / 419.7 MB, free: 16.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004608/0.197, allocations: 471.8 kB / 420.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003508/0.1974, allocations: 402.1 kB / 420.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003118/0.1977, allocations: 434 kB / 421 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.489e-05/0.1978, allocations: 56 kB / 421 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.198, allocations: 91.98 kB / 421.1 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.785e-05/0.1981, allocations: 163.2 kB / 421.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002945/0.1984, allocations: 0.4993 MB / 421.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006269/0.199, allocations: 1.133 MB / 422.9 MB, free: 12.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1991, allocations: 0 / 422.9 MB, free: 12.83 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1991, allocations: 0 / 422.9 MB, free: 12.83 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.477e-06/0.1991, allocations: 4 kB / 422.9 MB, free: 12.82 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001402/0.2005, allocations: 1.145 MB / 424.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.2005, allocations: 8.031 kB / 424.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.2006, allocations: 139.4 kB / 424.2 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005698/0.2012, allocations: 183.5 kB / 424.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006808/0.2019, allocations: 0.6376 MB / 425 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.2019, allocations: 66.12 kB / 425.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.713e-05/0.202, allocations: 80 kB / 425.2 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.2032, allocations: 0.8184 MB / 426 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.2032, allocations: 4 kB / 426 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.543e-05/0.2033, allocations: 40 kB / 426 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.2033, allocations: 20 kB / 426 MB, free: 9.562 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008783/0.2042, allocations: 0.5543 MB / 426.6 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003035/0.2072, allocations: 3.597 MB / 430.2 MB, free: 5.168 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000423/0.2076, allocations: 247.6 kB / 430.4 MB, free: 4.918 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.2079, allocations: 128.8 kB / 430.6 MB, free: 4.789 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.2079, allocations: 0 / 430.6 MB, free: 4.789 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.2079, allocations: 38.56 kB / 430.6 MB, free: 4.742 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.342e-06/0.2079, allocations: 0 / 430.6 MB, free: 4.742 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001632/0.2096, allocations: 1.101 MB / 431.7 MB, free: 3.566 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.2096, allocations: 85.05 kB / 431.8 MB, free: 3.465 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006853/0.2103, allocations: 0.7701 MB / 432.6 MB, free: 2.688 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.2103, allocations: 29.7 kB / 432.6 MB, free: 2.652 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.2105, allocations: 0.5097 MB / 433.1 MB, free: 2.133 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.086e-05/0.2106, allocations: 110.5 kB / 433.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/0.2106, allocations: 8 kB / 433.2 MB, free: 2.016 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.497e-05/0.2107, allocations: 382.8 kB / 433.6 MB, free: 1.633 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.2109, allocations: 141.2 kB / 433.7 MB, free: 1.496 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.2113, allocations: 450.2 kB / 434.2 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005916/0.2119, allocations: 0.6301 MB / 434.8 MB, free: 136 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2119, allocations: 4 kB / 434.8 MB, free: 132 kB / 298.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001046/0.2129, allocations: 0.6502 MB / 435.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.213, allocations: 11.94 kB / 435.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.213, allocations: 12 kB / 435.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001279/0.2131, allocations: 32.84 kB / 435.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/0.2136, allocations: 155.7 kB / 435.7 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008692/0.2144, allocations: 1.292 MB / 436.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004211/0.2149, allocations: 48.05 kB / 437 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.2149, allocations: 39.98 kB / 437 MB, free: 13.75 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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.000278/0.2152, allocations: 241.5 kB / 437.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.813e-05/0.2153, allocations: 75.06 kB / 437.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006593/0.216, allocations: 354.1 kB / 437.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.216, allocations: 0 / 437.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.216, allocations: 4 kB / 437.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.216, allocations: 0 / 437.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.2176, allocations: 1.143 MB / 438.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.2176, allocations: 4 kB / 438.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.2179, allocations: 68.11 kB / 438.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.445e-05/0.2179, allocations: 28.84 kB / 438.9 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.218, allocations: 8 kB / 438.9 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007902/0.2188, allocations: 1.268 MB / 440.2 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2188, allocations: 0 / 440.2 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008794/0.2197, allocations: 0.5916 MB / 440.8 MB, free: 9.691 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.2199, allocations: 176.2 kB / 441 MB, free: 9.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.259e-05/0.2199, allocations: 11.98 kB / 441 MB, free: 9.488 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/0.2203, allocations: 31.92 kB / 441 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/0.2204, allocations: 31.91 kB / 441 MB, free: 9.426 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.2204, allocations: 8 kB / 441.1 MB, free: 9.418 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006043/0.221, allocations: 0.5107 MB / 441.6 MB, free: 8.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.221, allocations: 0 / 441.6 MB, free: 8.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005962/0.2216, allocations: 176 kB / 441.7 MB, free: 8.738 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (28): * Single equations (assignments): 27 * 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.001197/0.2228, allocations: 1.156 MB / 442.9 MB, free: 7.527 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008112/0.2236, allocations: 496.8 kB / 443.4 MB, free: 7.031 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2236, allocations: 3.938 kB / 443.4 MB, free: 7.027 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003586/0.224, allocations: 247.8 kB / 443.6 MB, free: 6.773 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.2251, allocations: 171.8 kB / 443.8 MB, free: 6.613 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006568/0.2316, allocations: 4.606 MB / 448.4 MB, free: 1.773 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.2321, allocations: 0.945 MB / 449.3 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003669/0.2325, allocations: 323.3 kB / 449.7 MB, free: 496 kB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2325, allocations: 4 kB / 449.7 MB, free: 492 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.327/3.559, allocations: 16.17 MB / 465.8 MB, free: 296 kB / 330.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches