Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.AIMS_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",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.001774/0.001775, allocations: 106.6 kB / 17.73 MB, free: 5.32 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.002061/0.002062, allocations: 194.9 kB / 18.66 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.434/1.434, 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.002152/0.002152, allocations: 55.92 kB / 328 MB, free: 3.777 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1036, allocations: 46.62 MB / 374.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.2149/0.3186, allocations: 11.76 MB / 386.4 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008637/0.3273, allocations: 3.805 MB / 390.2 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002887/0.3302, allocations: 62.75 kB / 390.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003196/0.3335, allocations: 0.8677 MB / 391.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004313/0.3378, allocations: 1.076 MB / 392.2 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.3393, allocations: 0.4944 MB / 392.7 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005704/0.3451, allocations: 4.266 MB / 397 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004192/0.3493, allocations: 3.213 MB / 400.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00405/0.3534, allocations: 1.896 MB / 402.1 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005395/0.3588, allocations: 2.327 MB / 404.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002289/0.3611, allocations: 0.4955 MB / 404.9 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003647/0.3648, allocations: 0.5902 MB / 405.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003102/0.3679, allocations: 1.391 MB / 406.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006563/0.3745, allocations: 2.211 MB / 409.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01178/0.3863, allocations: 6.572 MB / 415.7 MB, free: 6.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.3864, allocations: 1.375 kB / 415.7 MB, free: 6.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.3864, allocations: 4 kB / 415.7 MB, free: 6.289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000316/0.3867, allocations: 0 / 415.7 MB, free: 6.289 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.0165/0.4032, allocations: 4.393 MB / 420.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.4033, allocations: 8.031 kB / 420.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001487/0.4048, allocations: 442.6 kB / 420.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00163/0.4065, allocations: 462.3 kB / 421 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006253/0.4127, allocations: 2.275 MB / 423.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002707/0.413, allocations: 230.1 kB / 423.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001199/0.4142, allocations: 304 kB / 423.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01224/0.4265, allocations: 4.365 MB / 428.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001465/0.4267, allocations: 3.938 kB / 428.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008547/0.4276, allocations: 124 kB / 428.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001769/0.4278, allocations: 134 kB / 428.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008661/0.4364, allocations: 3.775 MB / 432.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02948/0.466, allocations: 13.42 MB / 445.6 MB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004685/0.4707, allocations: 2.903 MB / 448.5 MB, free: 5.336 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003389/0.4742, allocations: 1.688 MB / 450.2 MB, free: 3.645 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000309/0.4745, allocations: 126.4 kB / 450.3 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.4746, allocations: 51.88 kB / 450.4 MB, free: 3.445 MB / 366.1 MB Notification: Performance of pre-optimization done (n=164): time 3.447e-06/0.4747, allocations: 0 / 450.4 MB, free: 3.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=180): time 0.02252/0.4972, allocations: 9.27 MB / 459.6 MB, free: 9.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.967e-05/0.4973, allocations: 69.41 kB / 459.7 MB, free: 9.867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004348/0.5017, allocations: 2.361 MB / 462.1 MB, free: 7.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003908/0.5021, allocations: 57.7 kB / 462.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001465/0.5036, allocations: 1.509 MB / 463.6 MB, free: 5.891 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008382/0.5044, allocations: 0.6313 MB / 464.2 MB, free: 5.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006986/0.5051, allocations: 371.4 kB / 464.6 MB, free: 4.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.5053, allocations: 301.1 kB / 464.9 MB, free: 4.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001987/0.5073, allocations: 1.128 MB / 466 MB, free: 3.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002285/0.5096, allocations: 1.571 MB / 467.6 MB, free: 1.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004334/0.5139, allocations: 2.78 MB / 470.4 MB, free: 14.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.514, allocations: 8 kB / 470.4 MB, free: 14.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.00705/0.521, allocations: 3.605 MB / 474 MB, free: 11.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/0.5211, allocations: 16.44 kB / 474 MB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.949e-05/0.5211, allocations: 16 kB / 474 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002197/0.5233, allocations: 0.7949 MB / 474.8 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/0.5254, allocations: 459.3 kB / 475.3 MB, free: 9.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/0.5382, allocations: 11.18 MB / 486.5 MB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002659/0.5409, allocations: 123.8 kB / 486.6 MB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003422/0.5413, allocations: 76 kB / 486.7 MB, free: 13.74 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002733/0.544, allocations: 1.095 MB / 487.7 MB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008114/0.5448, allocations: 258.3 kB / 488 MB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006545/0.5514, allocations: 3.301 MB / 491.3 MB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/0.5515, allocations: 16 kB / 491.3 MB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.95e-05/0.5515, allocations: 8 kB / 491.3 MB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.342e-05/0.5515, allocations: 7.969 kB / 491.3 MB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01525/0.5668, allocations: 6.844 MB / 498.2 MB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.5668, allocations: 11.94 kB / 498.2 MB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/0.5682, allocations: 303.8 kB / 498.5 MB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002704/0.571, allocations: 0.9199 MB / 499.4 MB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002198/0.5712, allocations: 43.98 kB / 499.4 MB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01658/0.5878, allocations: 14.61 MB / 0.502 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.5878, allocations: 11.92 kB / 0.502 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009261/0.5971, allocations: 4.862 MB / 0.5068 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001868/0.599, allocations: 0.5813 MB / 0.5073 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006663/0.5997, allocations: 39.92 kB / 0.5074 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/0.6012, allocations: 119.9 kB / 0.5075 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004933/0.6017, allocations: 161.7 kB / 0.5076 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/0.6019, allocations: 47.98 kB / 0.5077 GB, free: 11.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002924/0.6048, allocations: 1.625 MB / 0.5093 GB, free: 9.609 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6048, allocations: 4 kB / 0.5093 GB, free: 9.605 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002838/0.6076, allocations: 0.6992 MB / 0.51 GB, free: 8.906 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.009485/0.6171, allocations: 5.532 MB / 0.5154 GB, free: 3.301 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006646/0.6238, allocations: 3.601 MB / 0.5189 GB, free: 15.59 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.6239, allocations: 0 / 0.5189 GB, free: 15.59 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004334/0.6282, allocations: 2.511 MB / 0.5213 GB, free: 12.97 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004249/0.6325, allocations: 0.7087 MB / 0.522 GB, free: 12.26 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05422/0.6868, allocations: 26.36 MB / 0.5478 GB, free: 1.223 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2082/0.895, allocations: 2.517 MB / 0.5502 GB, free: 154 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002534/0.8976, allocations: 0.5835 MB / 0.5508 GB, free: 154 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00204/0.8996, allocations: 1.258 MB / 0.552 GB, free: 154 MB / 478.1 MB Notification: Performance of SimCode: time 1.362e-06/0.8996, allocations: 0 / 0.552 GB, free: 154 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1471/1.047, allocations: 66.66 MB / 0.6171 GB, free: 107.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/15.25, allocations: 7.875 kB / 0.6171 GB, free: 107.4 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMS_Start/AIMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches