Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.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.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000998/0.000998, allocations: 191.8 kB / 17.37 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.222/1.222, allocations: 226.5 MB / 244.7 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007945/0.0007945, allocations: 91.91 kB / 296.7 MB, free: 6.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002537/0.0002538, allocations: 4 kB / 356.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1931, allocations: 51.3 MB / 408.1 MB, free: 27.63 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.006079/0.1993, allocations: 7.824 MB / 416 MB, free: 19.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00364/0.2029, allocations: 2.704 MB / 418.7 MB, free: 17.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006345/0.2036, allocations: 43.81 kB / 418.7 MB, free: 17.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009688/0.2046, allocations: 497.1 kB / 419.2 MB, free: 16.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001394/0.206, allocations: 0.6098 MB / 419.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.2065, allocations: 211.7 kB / 420 MB, free: 15.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001647/0.2081, allocations: 2.323 MB / 422.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.2094, allocations: 1.445 MB / 423.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008647/0.2102, allocations: 0.7743 MB / 424.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000896/0.2111, allocations: 1.066 MB / 425.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.2113, allocations: 120 kB / 425.7 MB, free: 9.941 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00044/0.2118, allocations: 219.8 kB / 426 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004101/0.2122, allocations: 0.5802 MB / 426.5 MB, free: 9.145 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006564/0.2129, allocations: 0.9853 MB / 427.5 MB, free: 8.148 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.2144, allocations: 2.832 MB / 430.3 MB, free: 5.309 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2144, allocations: 4 kB / 430.4 MB, free: 5.305 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2144, allocations: 0 / 430.4 MB, free: 5.305 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.03e-05/0.2145, allocations: 0 / 430.4 MB, free: 5.305 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.003345/0.2178, allocations: 2.123 MB / 432.5 MB, free: 3.125 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.2179, allocations: 12.03 kB / 432.5 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002646/0.2181, allocations: 266 kB / 432.7 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005306/0.2187, allocations: 258.1 kB / 433 MB, free: 2.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.2203, allocations: 1.27 MB / 434.3 MB, free: 1.273 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-05/0.2203, allocations: 135.7 kB / 434.4 MB, free: 1.141 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/0.2206, allocations: 179.9 kB / 434.6 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00349/0.2241, allocations: 2.367 MB / 436.9 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.76e-05/0.2241, allocations: 11.84 kB / 437 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.2243, allocations: 75.98 kB / 437 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.685e-05/0.2244, allocations: 91.5 kB / 437.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003221/0.2276, allocations: 1.97 MB / 439.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01024/0.2379, allocations: 7.175 MB / 446.3 MB, free: 5.043 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.2397, allocations: 1.281 MB / 447.5 MB, free: 3.695 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.2412, allocations: 0.8776 MB / 448.4 MB, free: 2.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/0.2414, allocations: 122 kB / 448.5 MB, free: 2.684 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.2415, allocations: 47.56 kB / 448.6 MB, free: 2.625 MB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 2.855e-06/0.2415, allocations: 0 / 448.6 MB, free: 2.625 MB / 314.7 MB Notification: Performance of matching and sorting (n=104): time 0.01312/0.2546, allocations: 6.196 MB / 454.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.2547, allocations: 64.41 kB / 454.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.2563, allocations: 1.207 MB / 456.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.318e-05/0.2564, allocations: 49.7 kB / 456.1 MB, free: 10.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005986/0.257, allocations: 0.8651 MB / 457 MB, free: 10.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000264/0.2573, allocations: 366.7 kB / 457.3 MB, free: 9.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-05/0.2573, allocations: 28 kB / 457.4 MB, free: 9.652 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2575, allocations: 353.9 kB / 457.7 MB, free: 9.301 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009553/0.2584, allocations: 0.6155 MB / 458.3 MB, free: 8.684 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.2596, allocations: 0.9381 MB / 459.3 MB, free: 7.617 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0022/0.2618, allocations: 1.639 MB / 460.9 MB, free: 5.855 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.2618, allocations: 4 kB / 460.9 MB, free: 5.852 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003593/0.2654, allocations: 2.231 MB / 463.1 MB, free: 3.574 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.2655, allocations: 12 kB / 463.1 MB, free: 3.562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.2655, allocations: 11.94 kB / 463.1 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.2666, allocations: 483.9 kB / 463.6 MB, free: 3.062 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009727/0.2676, allocations: 271.6 kB / 463.9 MB, free: 2.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006192/0.2738, allocations: 6.425 MB / 470.3 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.2748, allocations: 91.84 kB / 470.4 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.275, allocations: 48 kB / 470.4 MB, free: 11.83 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001058/0.276, allocations: 0.6027 MB / 471.1 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003048/0.2763, allocations: 138.3 kB / 471.2 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003565/0.2799, allocations: 2.032 MB / 473.2 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.2799, allocations: 12 kB / 473.2 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.28, allocations: 8 kB / 473.2 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.28, allocations: 3.984 kB / 473.2 MB, free: 8.984 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00732/0.2873, allocations: 4.24 MB / 477.5 MB, free: 4.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.2874, allocations: 11.94 kB / 477.5 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007599/0.2881, allocations: 183.7 kB / 477.7 MB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001371/0.2895, allocations: 0.5305 MB / 478.2 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.124e-05/0.2896, allocations: 31.98 kB / 478.2 MB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007555/0.2972, allocations: 7.909 MB / 486.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.2972, allocations: 7.938 kB / 486.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004818/0.302, allocations: 2.963 MB / 489.1 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007534/0.3028, allocations: 347.4 kB / 489.5 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002936/0.3031, allocations: 31.92 kB / 489.5 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008956/0.304, allocations: 83.92 kB / 489.6 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002828/0.3043, allocations: 88.75 kB / 489.7 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.278e-05/0.3044, allocations: 32 kB / 489.7 MB, free: 7.742 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00136/0.3058, allocations: 0.8305 MB / 490.5 MB, free: 6.906 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3058, allocations: 0 / 490.5 MB, free: 6.906 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001619/0.3074, allocations: 412.1 kB / 490.9 MB, free: 6.504 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,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 (88): * 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): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00513/0.3126, allocations: 3.602 MB / 494.5 MB, free: 2.801 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003433/0.316, allocations: 2.165 MB / 496.7 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.3161, allocations: 0 / 496.7 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002268/0.3183, allocations: 1.492 MB / 498.2 MB, free: 14.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/0.321, allocations: 352.5 kB / 498.5 MB, free: 14.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02116/0.3422, allocations: 11.75 MB / 0.4983 GB, free: 2.367 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/0.3437, allocations: 1.626 MB / 0.4999 GB, free: 0.707 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009793/0.3447, allocations: 0.6945 MB / 0.5006 GB, free: 12 kB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3448, allocations: 0 / 0.5006 GB, free: 12 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.978/6.323, allocations: 73.51 MB / 0.5724 GB, free: 27.4 MB / 378.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter.fmu > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches