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: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001424, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001306/0.001306, allocations: 187 kB / 18.67 MB, free: 4.414 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.96/1.96, 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.001867/0.001867, allocations: 55.92 kB / 328.5 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1485, allocations: 46.61 MB / 375.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.3063/0.4549, allocations: 9.755 MB / 384.9 MB, free: 8.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007626/0.4626, allocations: 3.146 MB / 388.1 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002704/0.4654, allocations: 46.84 kB / 388.1 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002227/0.4676, allocations: 0.6722 MB / 388.8 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003237/0.4709, allocations: 0.8153 MB / 389.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.4721, allocations: 395.1 kB / 390 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005459/0.4776, allocations: 3.096 MB / 393.1 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003154/0.4807, allocations: 2.391 MB / 395.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003245/0.484, allocations: 1.372 MB / 396.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003496/0.4875, allocations: 1.69 MB / 398.5 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006853/0.4882, allocations: 361.7 kB / 398.9 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.4895, allocations: 448.7 kB / 399.3 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001164/0.4907, allocations: 1 MB / 400.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002842/0.4936, allocations: 1.603 MB / 401.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007851/0.5014, allocations: 4.707 MB / 406.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.5015, allocations: 3.938 kB / 406.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5015, allocations: 1.219 kB / 406.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001971/0.5017, allocations: 0 / 406.6 MB, free: 12.71 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.01363/0.5153, allocations: 3.222 MB / 409.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.494e-05/0.5154, allocations: 9.156 kB / 409.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.517, allocations: 325.7 kB / 410.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004007/0.521, allocations: 1.638 MB / 411.8 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/0.5213, allocations: 172.8 kB / 412 MB, free: 9.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003922/0.5217, allocations: 233.7 kB / 412.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007557/0.5292, allocations: 3.187 MB / 415.4 MB, free: 7.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.088e-05/0.5294, allocations: 10.56 kB / 415.4 MB, free: 7.074 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002638/0.5296, allocations: 92.5 kB / 415.5 MB, free: 7.004 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001412/0.5298, allocations: 108.2 kB / 415.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005376/0.5352, allocations: 2.742 MB / 418.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01793/0.5531, allocations: 9.766 MB / 428.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002943/0.5561, allocations: 2.09 MB / 430.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001924/0.5581, allocations: 1.206 MB / 431.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002597/0.5583, allocations: 130.9 kB / 431.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/0.5584, allocations: 51.56 kB / 431.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=126): time 3.567e-06/0.5584, allocations: 0 / 431.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=142): time 0.01815/0.5766, allocations: 7.985 MB / 439.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.5766, allocations: 64.72 kB / 439.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002437/0.5791, allocations: 1.68 MB / 441.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.5792, allocations: 49.7 kB / 441.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008078/0.58, allocations: 1.086 MB / 442.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004058/0.5804, allocations: 492.9 kB / 442.9 MB, free: 11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004783/0.5809, allocations: 287.4 kB / 443.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5811, allocations: 305.1 kB / 443.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/0.5824, allocations: 0.9135 MB / 444.4 MB, free: 9.496 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.5841, allocations: 1.259 MB / 445.7 MB, free: 8.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003095/0.5872, allocations: 2.254 MB / 447.9 MB, free: 5.695 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.5872, allocations: 4 kB / 447.9 MB, free: 5.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005181/0.5924, allocations: 3.045 MB / 451 MB, free: 2.621 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.5924, allocations: 8 kB / 451 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.5924, allocations: 12 kB / 451 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002036/0.5945, allocations: 0.8521 MB / 451.9 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.5957, allocations: 303.5 kB / 452.2 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/0.6074, allocations: 9.912 MB / 462.1 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/0.6097, allocations: 95.84 kB / 462.2 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002051/0.6099, allocations: 59.98 kB / 462.2 MB, free: 6.945 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.002224/0.6121, allocations: 0.8104 MB / 463 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006062/0.6127, allocations: 181.8 kB / 463.2 MB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005929/0.6187, allocations: 2.846 MB / 466.1 MB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.743e-05/0.6188, allocations: 12 kB / 466.1 MB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000126/0.6189, allocations: 8.188 kB / 466.1 MB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.482e-05/0.6189, allocations: 7.969 kB / 466.1 MB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01684/0.6358, allocations: 5.672 MB / 471.7 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/0.6359, allocations: 4.281 kB / 471.8 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009969/0.6369, allocations: 191.7 kB / 471.9 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002851/0.6398, allocations: 0.8938 MB / 472.8 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002055/0.64, allocations: 35.98 kB / 472.9 MB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01522/0.6552, allocations: 11.52 MB / 484.4 MB, free: 44 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.6553, allocations: 7.969 kB / 484.4 MB, free: 36 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008042/0.6633, allocations: 4.153 MB / 488.6 MB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/0.6649, allocations: 462.7 kB / 489 MB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000772/0.6657, allocations: 31.98 kB / 489 MB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/0.6672, allocations: 79.92 kB / 489.1 MB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005344/0.6678, allocations: 153 kB / 489.3 MB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/0.668, allocations: 32 kB / 489.3 MB, free: 11.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002698/0.6707, allocations: 1.153 MB / 490.4 MB, free: 9.906 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6707, allocations: 0 / 490.4 MB, free: 9.906 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003096/0.6738, allocations: 0.5586 MB / 491 MB, free: 9.348 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.0005901/0.6744, allocations: 191.7 kB / 491.2 MB, free: 9.152 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005529/0.6799, allocations: 3.003 MB / 494.2 MB, free: 6.066 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.09e-05/0.68, allocations: 8.25 kB / 494.2 MB, free: 6.059 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003574/0.6836, allocations: 2.033 MB / 496.2 MB, free: 3.953 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003028/0.6866, allocations: 0.4943 MB / 496.7 MB, free: 3.461 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.6968, allocations: 5.16 MB / 0.4901 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002472/0.6993, allocations: 2.024 MB / 0.4921 GB, free: 12.19 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001748/0.7011, allocations: 399.3 kB / 0.4925 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004855/0.7016, allocations: 119.4 kB / 0.4926 GB, free: 11.68 MB / 430.1 MB Notification: Performance of SimCode: time 1.974e-06/0.7016, allocations: 0 / 0.4926 GB, free: 11.68 MB / 430.1 MB Notification: Performance of Templates: time 0.07149/0.7731, allocations: 33.22 MB / 0.525 GB, free: 10.39 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/var/lib/jenkins/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/jenkins/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