Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 109.3 kB / 17.73 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 188.2 kB / 18.66 MB, free: 4.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 51.92 kB / 328 MB, free: 3.785 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08299/0.08464, allocations: 46.62 MB / 374.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.1633/0.248, allocations: 9.584 MB / 384.2 MB, free: 8.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004603/0.2527, allocations: 3.16 MB / 387.4 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007647/0.2534, allocations: 48.72 kB / 387.4 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.2548, allocations: 0.674 MB / 388.1 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.2568, allocations: 0.7534 MB / 388.9 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008241/0.2576, allocations: 392.4 kB / 389.3 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002584/0.2602, allocations: 2.566 MB / 391.8 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002241/0.2625, allocations: 2.29 MB / 394.1 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/0.2642, allocations: 1.168 MB / 395.3 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.266, allocations: 1.499 MB / 396.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000435/0.2665, allocations: 319 kB / 397.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007886/0.2673, allocations: 421.1 kB / 397.5 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007753/0.2681, allocations: 0.9008 MB / 398.4 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.2693, allocations: 1.413 MB / 399.8 MB, free: 428 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0049/0.2742, allocations: 4.164 MB / 404 MB, free: 14.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.2742, allocations: 3.984 kB / 404 MB, free: 14.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.2743, allocations: 1.125 kB / 404 MB, free: 14.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.089e-05/0.2744, allocations: 1.5 kB / 404 MB, free: 14.23 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.005904/0.2803, allocations: 2.965 MB / 407 MB, free: 12.15 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.2803, allocations: 9.375 kB / 407 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004153/0.2807, allocations: 309.9 kB / 407.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007489/0.2815, allocations: 298.6 kB / 407.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/0.2839, allocations: 1.461 MB / 409 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.284, allocations: 160.8 kB / 409.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003134/0.2843, allocations: 209.7 kB / 409.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004512/0.2889, allocations: 2.801 MB / 412.2 MB, free: 8.867 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.553e-05/0.2889, allocations: 10.48 kB / 412.2 MB, free: 8.859 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002036/0.2891, allocations: 82.75 kB / 412.3 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.5e-05/0.2892, allocations: 109.4 kB / 412.4 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003922/0.2932, allocations: 2.348 MB / 414.7 MB, free: 7.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01322/0.3064, allocations: 8.518 MB / 423.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/0.3089, allocations: 1.708 MB / 425 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/0.3107, allocations: 0.9518 MB / 425.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003091/0.311, allocations: 204.2 kB / 426.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.3111, allocations: 51.31 kB / 426.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 3.326e-06/0.3111, allocations: 0 / 426.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01357/0.3246, allocations: 6.146 MB / 432.3 MB, free: 5.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.3247, allocations: 64.41 kB / 432.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.3269, allocations: 1.437 MB / 433.8 MB, free: 4.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.725e-05/0.327, allocations: 49.64 kB / 433.8 MB, free: 3.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008487/0.3279, allocations: 1.06 MB / 434.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000401/0.3283, allocations: 432.3 kB / 435.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004292/0.3287, allocations: 263.4 kB / 435.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.3289, allocations: 365.9 kB / 435.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.3301, allocations: 0.6831 MB / 436.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/0.3318, allocations: 1.074 MB / 437.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002812/0.3346, allocations: 1.856 MB / 439.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.3347, allocations: 4 kB / 439.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004412/0.3391, allocations: 2.407 MB / 442 MB, free: 11.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.3391, allocations: 8.25 kB / 442 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.738e-05/0.3392, allocations: 19.94 kB / 442 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.3402, allocations: 407.1 kB / 442.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.3414, allocations: 331.5 kB / 442.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007779/0.3492, allocations: 7.051 MB / 449.8 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.3506, allocations: 107.9 kB / 449.9 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.3507, allocations: 55.98 kB / 449.9 MB, free: 3.066 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (157): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001247/0.352, allocations: 0.6893 MB / 450.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003231/0.3523, allocations: 170.9 kB / 450.8 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003839/0.3561, allocations: 2.119 MB / 452.9 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.3562, allocations: 12 kB / 452.9 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.3562, allocations: 4 kB / 452.9 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.3562, allocations: 3.984 kB / 452.9 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007912/0.3641, allocations: 4.569 MB / 457.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.3642, allocations: 4 kB / 457.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009135/0.3651, allocations: 215.7 kB / 457.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001165/0.3663, allocations: 444.1 kB / 458.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.3664, allocations: 39.91 kB / 458.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008971/0.3753, allocations: 8.633 MB / 466.8 MB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.3754, allocations: 4 kB / 466.8 MB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005308/0.3807, allocations: 3.112 MB / 469.9 MB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008485/0.3816, allocations: 387.9 kB / 470.3 MB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/0.3818, allocations: 35.98 kB / 470.3 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008798/0.3827, allocations: 87.84 kB / 470.4 MB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/0.383, allocations: 92.75 kB / 470.5 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.639e-05/0.383, allocations: 43.98 kB / 470.6 MB, free: 13.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001542/0.3846, allocations: 0.9924 MB / 471.6 MB, free: 12.56 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3846, allocations: 0 / 471.6 MB, free: 12.56 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001682/0.3863, allocations: 463.9 kB / 472 MB, free: 12.11 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[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 (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005676/0.392, allocations: 3.742 MB / 475.7 MB, free: 8.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003877/0.3959, allocations: 2.23 MB / 478 MB, free: 5.969 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.3959, allocations: 3.938 kB / 478 MB, free: 5.965 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0025/0.3984, allocations: 1.439 MB / 479.4 MB, free: 4.477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/0.4006, allocations: 421.7 kB / 479.8 MB, free: 4.062 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03184/0.4324, allocations: 16.94 MB / 496.8 MB, free: 2.406 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001804/0.4343, allocations: 1.811 MB / 498.6 MB, free: 0.5625 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001141/0.4354, allocations: 361.6 kB / 498.9 MB, free: 208 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/0.4366, allocations: 0.8157 MB / 499.8 MB, free: 15.38 MB / 430.1 MB Notification: Performance of SimCode: time 2.695e-06/0.4367, allocations: 0 / 499.8 MB, free: 15.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09445/0.5311, allocations: 41.83 MB / 0.5289 GB, free: 5.43 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.98, allocations: 20.23 kB / 0.5289 GB, free: 5.406 MB / 462.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches