Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.DCPM_Start,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_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.0008822/0.0008823, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.187/1.187, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0006869/0.0006869, allocations: 97.47 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002753/0.0002754, allocations: 12 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1732, allocations: 47.57 MB / 375.2 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.004722/0.1779, allocations: 6.237 MB / 381.4 MB, free: 40.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.1806, allocations: 2.23 MB / 383.7 MB, free: 38.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003799/0.181, allocations: 20.56 kB / 383.7 MB, free: 38.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008446/0.1818, allocations: 425.5 kB / 384.1 MB, free: 38.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005332/0.1824, allocations: 306.6 kB / 384.4 MB, free: 38.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.1826, allocations: 123 kB / 384.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008078/0.1835, allocations: 1.113 MB / 385.6 MB, free: 37.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000501/0.184, allocations: 449.5 kB / 386.1 MB, free: 37.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003985/0.1844, allocations: 372.5 kB / 386.4 MB, free: 36.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003218/0.1847, allocations: 408.1 kB / 386.8 MB, free: 36.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.613e-05/0.1848, allocations: 53.56 kB / 386.9 MB, free: 36.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.185, allocations: 86.64 kB / 387 MB, free: 36.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.597e-05/0.1851, allocations: 154.6 kB / 387.1 MB, free: 36.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003295/0.1854, allocations: 494.8 kB / 387.6 MB, free: 36.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006304/0.1861, allocations: 1.125 MB / 388.7 MB, free: 35.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1861, allocations: 8 kB / 388.7 MB, free: 35.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1861, allocations: 0 / 388.7 MB, free: 35.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.1862, allocations: 0 / 388.7 MB, free: 35.1 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001286/0.1874, allocations: 1.083 MB / 389.8 MB, free: 33.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1875, allocations: 8.031 kB / 389.8 MB, free: 33.96 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.1876, allocations: 131.1 kB / 389.9 MB, free: 33.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003711/0.188, allocations: 147.6 kB / 390.1 MB, free: 33.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006531/0.1886, allocations: 0.6338 MB / 390.7 MB, free: 33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.1887, allocations: 62.38 kB / 390.8 MB, free: 32.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-05/0.1888, allocations: 88.03 kB / 390.9 MB, free: 32.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.1898, allocations: 0.7832 MB / 391.7 MB, free: 32.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.1898, allocations: 0 / 391.7 MB, free: 32.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.1899, allocations: 36 kB / 391.7 MB, free: 32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.1899, allocations: 20 kB / 391.7 MB, free: 31.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000837/0.1907, allocations: 0.5309 MB / 392.2 MB, free: 31.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/0.1935, allocations: 3.411 MB / 395.7 MB, free: 27.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.1939, allocations: 236.7 kB / 395.9 MB, free: 27.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.1941, allocations: 125.7 kB / 396 MB, free: 27.47 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.1942, allocations: 4 kB / 396 MB, free: 27.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.1942, allocations: 34.5 kB / 396 MB, free: 27.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.433e-06/0.1942, allocations: 0 / 396 MB, free: 27.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001539/0.1958, allocations: 1.079 MB / 397.1 MB, free: 26.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.1958, allocations: 81.11 kB / 397.2 MB, free: 26.17 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006627/0.1965, allocations: 0.7271 MB / 397.9 MB, free: 25.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1965, allocations: 33.64 kB / 398 MB, free: 25.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.1967, allocations: 0.4943 MB / 398.5 MB, free: 24.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.1967, allocations: 110.5 kB / 398.6 MB, free: 24.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/0.1968, allocations: 16 kB / 398.6 MB, free: 24.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.346e-05/0.1968, allocations: 370.8 kB / 398.9 MB, free: 24.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.1971, allocations: 133.2 kB / 399.1 MB, free: 24.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.1974, allocations: 426.2 kB / 399.5 MB, free: 23.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005489/0.1979, allocations: 0.577 MB / 400.1 MB, free: 23.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.198, allocations: 0 / 400.1 MB, free: 23.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000825/0.1988, allocations: 0.6346 MB / 400.7 MB, free: 22.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1988, allocations: 12 kB / 400.7 MB, free: 22.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.1988, allocations: 8 kB / 400.7 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001191/0.1989, allocations: 28.84 kB / 400.7 MB, free: 22.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.1993, allocations: 155.7 kB / 400.9 MB, free: 22.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006263/0.2, allocations: 1.288 MB / 402.2 MB, free: 20.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/0.2004, allocations: 40.05 kB / 402.2 MB, free: 20.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.2004, allocations: 31.94 kB / 402.3 MB, free: 20.67 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.00025/0.2007, allocations: 237.6 kB / 402.5 MB, free: 20.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.237e-05/0.2007, allocations: 75.14 kB / 402.6 MB, free: 20.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005432/0.2013, allocations: 329.4 kB / 402.9 MB, free: 20.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2013, allocations: 4 kB / 402.9 MB, free: 20.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.2013, allocations: 7.875 kB / 402.9 MB, free: 20.01 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2013, allocations: 0 / 402.9 MB, free: 20.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.2025, allocations: 1.114 MB / 404 MB, free: 18.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2026, allocations: 4 kB / 404 MB, free: 18.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/0.2028, allocations: 63.89 kB / 404.1 MB, free: 18.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.443e-05/0.2029, allocations: 25.08 kB / 404.1 MB, free: 18.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.2029, allocations: 8 kB / 404.1 MB, free: 18.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00053/0.2034, allocations: 1.276 MB / 405.4 MB, free: 17.31 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.2035, allocations: 11.91 kB / 405.4 MB, free: 17.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006904/0.2041, allocations: 0.5755 MB / 406 MB, free: 16.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.2043, allocations: 180.2 kB / 406.1 MB, free: 16.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/0.2044, allocations: 8 kB / 406.2 MB, free: 16.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/0.2047, allocations: 19.98 kB / 406.2 MB, free: 16.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.2048, allocations: 27.97 kB / 406.2 MB, free: 16.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.2048, allocations: 8 kB / 406.2 MB, free: 16.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000486/0.2053, allocations: 0.4951 MB / 406.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2053, allocations: 0 / 406.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005675/0.2059, allocations: 171.9 kB / 406.9 MB, free: 15.76 MB / 298.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 (27): * Single equations (assignments): 26 * 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.0009199/0.2068, allocations: 1.117 MB / 408 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007005/0.2075, allocations: 480.8 kB / 408.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2075, allocations: 8 kB / 408.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002915/0.2078, allocations: 238.5 kB / 408.7 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000982/0.2088, allocations: 169.5 kB / 408.9 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005435/0.2142, allocations: 4.424 MB / 413.3 MB, free: 9.059 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.2145, allocations: 0.9372 MB / 414.2 MB, free: 8.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/0.2148, allocations: 303.3 kB / 414.5 MB, free: 7.793 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2148, allocations: 4 kB / 414.5 MB, free: 7.789 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.413/3.628, allocations: 15.65 MB / 430.2 MB, free: 8.109 MB / 314.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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/DCPM_Start/DCPM_Start.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches