Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008577/0.0008576, allocations: 175.3 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.181/1.181, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000763/0.000763, allocations: 89.3 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003045, allocations: 15.97 kB / 327.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1826, allocations: 47.56 MB / 375.2 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.00519/0.1879, allocations: 7.081 MB / 382.3 MB, free: 39.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.1904, allocations: 2.5 MB / 384.8 MB, free: 37.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003739/0.1908, allocations: 27.34 kB / 384.8 MB, free: 37.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008706/0.1917, allocations: 470.1 kB / 385.3 MB, free: 37.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005661/0.1923, allocations: 380.2 kB / 385.6 MB, free: 37.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.1926, allocations: 157.7 kB / 385.8 MB, free: 36.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009336/0.1935, allocations: 1.366 MB / 387.2 MB, free: 36.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005573/0.1941, allocations: 0.4936 MB / 387.6 MB, free: 35.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004264/0.1945, allocations: 457.2 kB / 388.1 MB, free: 35.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000391/0.1949, allocations: 0.4966 MB / 388.6 MB, free: 35.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.833e-05/0.195, allocations: 64 kB / 388.7 MB, free: 35.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002159/0.1952, allocations: 104 kB / 388.8 MB, free: 35.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.245e-05/0.1953, allocations: 187.1 kB / 388.9 MB, free: 34.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003267/0.1956, allocations: 0.581 MB / 389.5 MB, free: 34.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007156/0.1964, allocations: 1.352 MB / 390.9 MB, free: 32.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1964, allocations: 0 / 390.9 MB, free: 32.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1964, allocations: 0 / 390.9 MB, free: 32.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.1964, allocations: 0 / 390.9 MB, free: 32.93 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001473/0.1979, allocations: 1.254 MB / 392.1 MB, free: 31.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1979, allocations: 8.031 kB / 392.1 MB, free: 31.61 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/0.198, allocations: 152.4 kB / 392.3 MB, free: 31.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005236/0.1986, allocations: 187.4 kB / 392.5 MB, free: 31.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007633/0.1994, allocations: 0.7305 MB / 393.2 MB, free: 30.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.1994, allocations: 74 kB / 393.3 MB, free: 30.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.235e-05/0.1995, allocations: 96 kB / 393.4 MB, free: 30.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.2007, allocations: 0.9307 MB / 394.3 MB, free: 29.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.2007, allocations: 11.91 kB / 394.3 MB, free: 29.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.038e-05/0.2008, allocations: 36 kB / 394.3 MB, free: 29.33 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.2008, allocations: 24 kB / 394.4 MB, free: 29.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00095/0.2018, allocations: 0.6442 MB / 395 MB, free: 28.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0034/0.2052, allocations: 3.946 MB / 399 MB, free: 24.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/0.2057, allocations: 437.3 kB / 399.4 MB, free: 24.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004362/0.2062, allocations: 273.6 kB / 399.6 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.2062, allocations: 12.25 kB / 399.7 MB, free: 23.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.2062, allocations: 34.89 kB / 399.7 MB, free: 23.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.643e-06/0.2062, allocations: 0 / 399.7 MB, free: 23.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.001954/0.2082, allocations: 1.427 MB / 401.1 MB, free: 22.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.2082, allocations: 81.11 kB / 401.2 MB, free: 22.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000738/0.209, allocations: 0.8175 MB / 402 MB, free: 21.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.209, allocations: 37.64 kB / 402.1 MB, free: 21.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.2092, allocations: 0.5564 MB / 402.6 MB, free: 20.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.459e-05/0.2093, allocations: 161.7 kB / 402.8 MB, free: 20.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.2093, allocations: 15.94 kB / 402.8 MB, free: 20.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.583e-05/0.2094, allocations: 334 kB / 403.1 MB, free: 20.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.2096, allocations: 169.9 kB / 403.3 MB, free: 20 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/0.21, allocations: 460 kB / 403.7 MB, free: 19.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006426/0.2106, allocations: 0.67 MB / 404.4 MB, free: 18.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2107, allocations: 4 kB / 404.4 MB, free: 18.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009726/0.2116, allocations: 0.7627 MB / 405.2 MB, free: 17.83 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2117, allocations: 8.312 kB / 405.2 MB, free: 17.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2117, allocations: 16 kB / 405.2 MB, free: 17.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002052/0.2119, allocations: 81.61 kB / 405.3 MB, free: 17.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.2123, allocations: 159.7 kB / 405.4 MB, free: 17.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.2137, allocations: 2.872 MB / 408.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004237/0.2141, allocations: 47.89 kB / 408.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.2142, allocations: 32 kB / 408.4 MB, free: 14.35 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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): 82 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002566/0.2144, allocations: 262.4 kB / 408.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.107e-05/0.2145, allocations: 82.97 kB / 408.7 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007412/0.2153, allocations: 0.4917 MB / 409.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.706e-06/0.2153, allocations: 4 kB / 409.2 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.2153, allocations: 4 kB / 409.2 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2153, allocations: 3.984 kB / 409.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.2168, allocations: 1.453 MB / 410.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2168, allocations: 8.031 kB / 410.7 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.2171, allocations: 67.91 kB / 410.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001553/0.2172, allocations: 77.61 kB / 410.8 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.2173, allocations: 8 kB / 410.8 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/0.2186, allocations: 2.852 MB / 413.7 MB, free: 8.664 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2186, allocations: 64 / 413.7 MB, free: 8.664 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009025/0.2195, allocations: 0.7808 MB / 414.5 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.2197, allocations: 196 kB / 414.6 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.967e-05/0.2198, allocations: 20 kB / 414.7 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/0.2202, allocations: 27.92 kB / 414.7 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.2202, allocations: 43.89 kB / 414.7 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.2203, allocations: 12 kB / 414.7 MB, free: 7.527 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005255/0.2208, allocations: 0.5575 MB / 415.3 MB, free: 6.977 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2208, allocations: 7.938 kB / 415.3 MB, free: 6.969 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006494/0.2215, allocations: 200 kB / 415.5 MB, free: 6.773 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (38): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00111/0.2226, allocations: 1.338 MB / 416.8 MB, free: 5.371 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008348/0.2234, allocations: 0.6943 MB / 417.5 MB, free: 4.652 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2234, allocations: 4.188 kB / 417.5 MB, free: 4.648 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004687/0.2239, allocations: 441 kB / 418 MB, free: 4.191 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.225, allocations: 206.7 kB / 418.2 MB, free: 3.992 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006773/0.2318, allocations: 5.276 MB / 423.5 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/0.2323, allocations: 1.016 MB / 424.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004323/0.2328, allocations: 375.3 kB / 424.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of SimCode: time 3.4e-07/0.2328, allocations: 0 / 424.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.799/4.032, allocations: 23.48 MB / 448.3 MB, free: 5.488 MB / 330.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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/DCSE_Start/DCSE_Start.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches