Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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_YD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",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.001356/0.001356, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001591/0.001592, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.45/1.45, 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.001139/0.001139, allocations: 59.92 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07618/0.07733, allocations: 46.62 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.1988/0.2762, allocations: 9.759 MB / 384.4 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006219/0.2824, allocations: 3.144 MB / 387.6 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.2843, allocations: 43.72 kB / 387.6 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002062/0.2864, allocations: 0.7109 MB / 388.3 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003076/0.2895, allocations: 0.8572 MB / 389.2 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.2907, allocations: 384.7 kB / 389.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004879/0.2956, allocations: 3.103 MB / 392.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003364/0.299, allocations: 2.388 MB / 395 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002911/0.302, allocations: 1.375 MB / 396.4 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003341/0.3053, allocations: 1.685 MB / 398.1 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009423/0.3063, allocations: 365.3 kB / 398.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.308, allocations: 448.1 kB / 398.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001199/0.3092, allocations: 0.9941 MB / 399.9 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002565/0.3118, allocations: 1.605 MB / 401.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006636/0.3184, allocations: 4.728 MB / 406.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3185, allocations: 4 kB / 406.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3185, allocations: 0 / 406.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001438/0.3186, allocations: 0 / 406.2 MB, free: 12.84 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.008557/0.3272, allocations: 3.294 MB / 409.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3273, allocations: 8.719 kB / 409.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006508/0.3279, allocations: 333.7 kB / 409.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.329, allocations: 330.5 kB / 410.2 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003427/0.3324, allocations: 1.653 MB / 411.8 MB, free: 8.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.3325, allocations: 180.2 kB / 412 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004103/0.333, allocations: 224.6 kB / 412.2 MB, free: 8.809 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006315/0.3393, allocations: 3.194 MB / 415.4 MB, free: 6.867 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.16e-05/0.3394, allocations: 8.078 kB / 415.4 MB, free: 6.863 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000218/0.3396, allocations: 91.25 kB / 415.5 MB, free: 6.793 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/0.3397, allocations: 105.8 kB / 415.6 MB, free: 6.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00489/0.3446, allocations: 2.74 MB / 418.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01693/0.3616, allocations: 9.792 MB / 428.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002512/0.3641, allocations: 2.102 MB / 430.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001899/0.366, allocations: 1.21 MB / 431.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000268/0.3663, allocations: 126.7 kB / 431.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.3664, allocations: 43.56 kB / 431.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=126): time 3.526e-06/0.3664, allocations: 4 kB / 431.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=142): time 0.01915/0.3855, allocations: 8.033 MB / 439.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.3856, allocations: 68.72 kB / 439.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002854/0.3885, allocations: 1.669 MB / 441.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002108/0.3887, allocations: 57.64 kB / 441.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008784/0.3896, allocations: 1.123 MB / 442.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004936/0.3901, allocations: 0.4958 MB / 443.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004946/0.3906, allocations: 303.4 kB / 443.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3908, allocations: 301.1 kB / 443.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.3922, allocations: 0.9018 MB / 444.6 MB, free: 9.238 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/0.3939, allocations: 1.267 MB / 445.8 MB, free: 7.824 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003137/0.3971, allocations: 2.254 MB / 448.1 MB, free: 5.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.3971, allocations: 4 kB / 448.1 MB, free: 5.426 MB / 366.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005808/0.4029, allocations: 3.046 MB / 451.1 MB, free: 2.355 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.403, allocations: 15.94 kB / 451.2 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.403, allocations: 11.94 kB / 451.2 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002083/0.4051, allocations: 0.837 MB / 452 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.4063, allocations: 311.5 kB / 452.3 MB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/0.4173, allocations: 9.913 MB / 462.2 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.4189, allocations: 99.86 kB / 462.3 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.419, allocations: 60 kB / 462.4 MB, free: 6.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[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 (155): * Single equations (assignments): 150 * 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%), (9,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001369/0.4204, allocations: 0.8219 MB / 463.2 MB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003604/0.4208, allocations: 186.8 kB / 463.4 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004408/0.4252, allocations: 2.842 MB / 466.2 MB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.4252, allocations: 16 kB / 466.2 MB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.4252, allocations: 4 kB / 466.2 MB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.4252, allocations: 7.969 kB / 466.3 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008392/0.4336, allocations: 5.653 MB / 471.9 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.4336, allocations: 7.938 kB / 471.9 MB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007882/0.4344, allocations: 204 kB / 472.1 MB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001999/0.4365, allocations: 0.9016 MB / 473 MB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.4366, allocations: 35.98 kB / 473 MB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01138/0.448, allocations: 11.53 MB / 484.6 MB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.448, allocations: 3.938 kB / 484.6 MB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006036/0.454, allocations: 4.15 MB / 488.7 MB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/0.4551, allocations: 475.7 kB / 489.2 MB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002594/0.4554, allocations: 32 kB / 489.2 MB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008787/0.4562, allocations: 79.91 kB / 489.3 MB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003043/0.4566, allocations: 145 kB / 489.4 MB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.693e-05/0.4566, allocations: 47.98 kB / 489.5 MB, free: 10.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001479/0.4581, allocations: 1.153 MB / 490.6 MB, free: 9.598 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4581, allocations: 0 / 490.6 MB, free: 9.598 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001662/0.4598, allocations: 0.5589 MB / 491.2 MB, free: 9.039 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (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) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * 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%), (9,19,33.3%), (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.006028/0.4658, allocations: 4.8 MB / 496 MB, free: 4.164 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004284/0.4701, allocations: 2.999 MB / 499 MB, free: 1.082 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.4702, allocations: 8 kB / 499 MB, free: 1.074 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002988/0.4732, allocations: 2.041 MB / 0.4893 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002664/0.4758, allocations: 0.5072 MB / 0.4898 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03204/0.5079, allocations: 20.41 MB / 0.5097 GB, free: 9.453 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/0.5097, allocations: 2.02 MB / 0.5117 GB, free: 7.402 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001151/0.5109, allocations: 407.3 kB / 0.5121 GB, free: 7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/0.512, allocations: 0.8858 MB / 0.513 GB, free: 6.113 MB / 446.1 MB Notification: Performance of SimCode: time 8.02e-07/0.512, allocations: 0 / 0.513 GB, free: 6.113 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3803/0.8923, allocations: 52.68 MB / 0.5644 GB, free: 153.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 24.02/24.92, allocations: 9.141 kB / 0.5644 GB, free: 153.6 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_res.csv --start-time 0 --stop-time 2.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_AIMC_YD.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_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_YD/AIMC_YD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches