Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",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.001374/0.001374, allocations: 114.5 kB / 17.73 MB, free: 5.312 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.001215/0.001215, allocations: 187 kB / 18.67 MB, free: 4.387 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.467/1.467, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001634/0.001634, allocations: 59.91 kB / 328.1 MB, free: 3.773 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09018/0.09182, allocations: 46.62 MB / 374.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.191/0.2829, allocations: 9.642 MB / 384.3 MB, free: 8.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007038/0.29, allocations: 3.068 MB / 387.4 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002319/0.2924, allocations: 42.72 kB / 387.4 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002371/0.2948, allocations: 0.6395 MB / 388.1 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003727/0.2986, allocations: 0.7441 MB / 388.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.2999, allocations: 376 kB / 389.2 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004805/0.3047, allocations: 2.458 MB / 391.6 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002347/0.3071, allocations: 1.715 MB / 393.3 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00245/0.3095, allocations: 1.07 MB / 394.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002804/0.3124, allocations: 1.318 MB / 395.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006946/0.3131, allocations: 279.2 kB / 396 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.3146, allocations: 363 kB / 396.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009336/0.3156, allocations: 0.7823 MB / 397.1 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0018/0.3174, allocations: 1.273 MB / 398.4 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005106/0.3225, allocations: 3.649 MB / 402.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3225, allocations: 0 / 402.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3225, allocations: 0 / 402.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.517e-05/0.3226, allocations: 1.438 kB / 402.1 MB, free: 15.4 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.006058/0.3287, allocations: 2.636 MB / 404.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.3288, allocations: 8.688 kB / 404.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004174/0.3292, allocations: 277.4 kB / 405 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008767/0.3301, allocations: 275.4 kB / 405.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002707/0.3328, allocations: 1.282 MB / 406.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/0.333, allocations: 144.9 kB / 406.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003276/0.3333, allocations: 204.4 kB / 406.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004524/0.3378, allocations: 2.417 MB / 409.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.788e-05/0.3379, allocations: 2.156 kB / 409.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/0.3381, allocations: 81.12 kB / 409.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001205/0.3382, allocations: 87.62 kB / 409.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003468/0.3417, allocations: 1.97 MB / 411.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0148/0.3565, allocations: 7.782 MB / 419.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.3584, allocations: 1.231 MB / 420.4 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001996/0.3604, allocations: 0.9673 MB / 421.4 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002592/0.3607, allocations: 122.1 kB / 421.5 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.3608, allocations: 43.55 kB / 421.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=95): time 3.496e-06/0.3608, allocations: 4 kB / 421.6 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of matching and sorting (n=111): time 0.01505/0.3758, allocations: 5.894 MB / 427.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.3759, allocations: 60.41 kB / 427.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002516/0.3785, allocations: 1.306 MB / 428.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.3786, allocations: 49.7 kB / 428.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007978/0.3794, allocations: 0.9458 MB / 429.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/0.3798, allocations: 416.4 kB / 430.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000443/0.3803, allocations: 247.5 kB / 430.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3805, allocations: 353.9 kB / 430.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.3815, allocations: 0.6364 MB / 431.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.3829, allocations: 1.008 MB / 432.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002548/0.3855, allocations: 1.727 MB / 434.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.3855, allocations: 7.938 kB / 434.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004359/0.3899, allocations: 2.258 MB / 436.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.3899, allocations: 11.94 kB / 436.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/0.39, allocations: 12 kB / 436.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/0.3913, allocations: 492.2 kB / 437 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.3925, allocations: 307.5 kB / 437.3 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008634/0.4011, allocations: 7.121 MB / 444.4 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.4028, allocations: 87.88 kB / 444.5 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003096/0.4031, allocations: 55.98 kB / 444.5 MB, free: 8.703 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002051/0.4052, allocations: 0.6034 MB / 445.1 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006227/0.4058, allocations: 151.1 kB / 445.3 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004418/0.4102, allocations: 1.968 MB / 447.2 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.4103, allocations: 12 kB / 447.3 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/0.4103, allocations: 4 kB / 447.3 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.4103, allocations: 7.969 kB / 447.3 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/0.4211, allocations: 4.129 MB / 451.4 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/0.4211, allocations: 4.062 kB / 451.4 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008789/0.422, allocations: 192.2 kB / 451.6 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001648/0.4237, allocations: 0.539 MB / 452.1 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/0.4238, allocations: 35.92 kB / 452.2 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01084/0.4347, allocations: 8.758 MB / 460.9 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.4347, allocations: 3.938 kB / 460.9 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005217/0.44, allocations: 2.852 MB / 463.8 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009963/0.441, allocations: 364 kB / 464.1 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004739/0.4415, allocations: 27.98 kB / 464.2 MB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.4426, allocations: 71.92 kB / 464.2 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/0.4429, allocations: 84.86 kB / 464.3 MB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.013e-05/0.443, allocations: 35.98 kB / 464.3 MB, free: 4.094 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001785/0.4448, allocations: 0.8878 MB / 465.2 MB, free: 3.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4448, allocations: 0 / 465.2 MB, free: 3.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002182/0.447, allocations: 443.9 kB / 465.7 MB, free: 2.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.005517/0.4525, allocations: 3.479 MB / 469.1 MB, free: 15.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004061/0.4566, allocations: 2.24 MB / 471.4 MB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.4566, allocations: 0 / 471.4 MB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002605/0.4592, allocations: 1.515 MB / 472.9 MB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/0.4621, allocations: 417.8 kB / 473.3 MB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02874/0.4908, allocations: 15.68 MB / 489 MB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002001/0.4929, allocations: 1.65 MB / 490.6 MB, free: 8.988 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001271/0.4942, allocations: 328.7 kB / 491 MB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/0.4954, allocations: 0.7141 MB / 491.7 MB, free: 7.945 MB / 414.1 MB Notification: Performance of SimCode: time 9.11e-07/0.4954, allocations: 0 / 491.7 MB, free: 7.945 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09739/0.5928, allocations: 39.53 MB / 0.5187 GB, free: 304 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.59/20.18, allocations: 8.375 kB / 0.5188 GB, free: 296 kB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches