Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002703/0.002709, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.948/3.948, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001798/0.001798, allocations: 94.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006825/0.0006826, allocations: 12 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.157, allocations: 47.57 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.02168/0.1787, allocations: 7.898 MB / 382.4 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01236/0.1912, allocations: 3.038 MB / 385.5 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002671/0.1939, allocations: 39.81 kB / 385.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004174/0.1982, allocations: 0.552 MB / 386.1 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005822/0.2041, allocations: 0.6932 MB / 386.8 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.2063, allocations: 235.7 kB / 387 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006887/0.2133, allocations: 1.973 MB / 389 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4022/0.6156, allocations: 1.571 MB / 390.5 MB, free: 9.676 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003366/0.619, allocations: 0.9382 MB / 391.5 MB, free: 9.676 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004538/0.6236, allocations: 1.198 MB / 392.7 MB, free: 9.672 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001633/0.6253, allocations: 155.6 kB / 392.8 MB, free: 9.672 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002797/0.6282, allocations: 213.1 kB / 393 MB, free: 9.672 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003181/0.6315, allocations: 0.7097 MB / 393.7 MB, free: 9.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002842/0.6344, allocations: 0.555 MB / 394.3 MB, free: 9.609 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0149/0.6493, allocations: 3.732 MB / 398 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.6494, allocations: 0 / 398 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.298e-06/0.6494, allocations: 0 / 398 MB, free: 9.387 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.004278/0.6537, allocations: 0 / 398 MB, free: 9.387 MB / 282.7 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.024/0.6778, allocations: 2.733 MB / 400.8 MB, free: 7.863 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.928e-05/0.6779, allocations: 13.44 kB / 400.8 MB, free: 7.859 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003147/0.6811, allocations: 323.4 kB / 401.1 MB, free: 7.699 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01665/0.6978, allocations: 1.582 MB / 402.7 MB, free: 7.004 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005094/0.6984, allocations: 172.4 kB / 402.8 MB, free: 6.996 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001907/0.7003, allocations: 226.9 kB / 403.1 MB, free: 6.992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03119/0.7316, allocations: 3.167 MB / 406.2 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002714/0.732, allocations: 3.031 kB / 406.2 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001509/0.7335, allocations: 99.44 kB / 406.3 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004456/0.738, allocations: 99.06 kB / 406.4 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02801/0.7661, allocations: 2.751 MB / 409.2 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04232/0.8085, allocations: 9.893 MB / 419.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007327/0.8159, allocations: 2.097 MB / 421.2 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006463/0.8166, allocations: 128.8 kB / 421.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.603e-05/0.8167, allocations: 47.56 kB / 421.3 MB, free: 12.08 MB / 298.7 MB Notification: Performance of pre-optimization done (n=126): time 5.881e-06/0.8167, allocations: 0 / 421.3 MB, free: 12.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=142): time 0.05104/0.8678, allocations: 8.107 MB / 429.4 MB, free: 3.855 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.681e-05/0.868, allocations: 72.66 kB / 429.5 MB, free: 3.773 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006604/0.8746, allocations: 1.622 MB / 431.1 MB, free: 2.145 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005632/0.8752, allocations: 53.64 kB / 431.2 MB, free: 2.086 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00182/0.8771, allocations: 1.034 MB / 432.2 MB, free: 1.047 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001385/0.8785, allocations: 486.8 kB / 432.7 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/0.8789, allocations: 28 kB / 432.7 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003278/0.8792, allocations: 378.7 kB / 433.1 MB, free: 172 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004326/0.8836, allocations: 0.9135 MB / 434 MB, free: 15.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004977/0.8886, allocations: 1.275 MB / 435.3 MB, free: 13.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005016/0.8937, allocations: 1.072 MB / 436.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-05/0.8938, allocations: 4 kB / 436.4 MB, free: 12.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.01466/0.9085, allocations: 2.948 MB / 439.3 MB, free: 9.789 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/0.9086, allocations: 11.98 kB / 439.3 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-05/0.9087, allocations: 8 kB / 439.3 MB, free: 9.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005671/0.9144, allocations: 0.8485 MB / 440.2 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00333/0.9178, allocations: 306.7 kB / 440.5 MB, free: 8.609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02769/0.9455, allocations: 9.329 MB / 449.8 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003622/0.9492, allocations: 99.97 kB / 449.9 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000715/0.95, allocations: 59.98 kB / 450 MB, free: 14.73 MB / 330.7 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 (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 initialization (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(9,33.3%) 19,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004312/0.9543, allocations: 0.8102 MB / 450.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001086/0.9554, allocations: 189.7 kB / 451 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/0.97, allocations: 2.866 MB / 453.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.92e-05/0.9701, allocations: 12 kB / 453.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.507e-05/0.9701, allocations: 12 kB / 453.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.457e-05/0.9702, allocations: 3.984 kB / 453.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02699/0.9972, allocations: 5.673 MB / 459.5 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-05/0.9973, allocations: 4 kB / 459.5 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00244/0.9998, allocations: 199.7 kB / 459.7 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005985/1.006, allocations: 0.883 MB / 460.6 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005419/1.006, allocations: 35.98 kB / 460.6 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02986/1.036, allocations: 10.85 MB / 471.5 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/1.036, allocations: 0 / 471.5 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01899/1.055, allocations: 4.334 MB / 475.8 MB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003071/1.059, allocations: 460.9 kB / 476.3 MB, free: 3.609 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001362/1.06, allocations: 31.95 kB / 476.3 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003239/1.063, allocations: 91.91 kB / 476.4 MB, free: 3.488 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001158/1.065, allocations: 141.1 kB / 476.5 MB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002972/1.065, allocations: 39.98 kB / 476.6 MB, free: 3.312 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00473/1.07, allocations: 1.11 MB / 477.7 MB, free: 2.207 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.183e-06/1.07, allocations: 0 / 477.7 MB, free: 2.207 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005653/1.075, allocations: 0.5551 MB / 478.2 MB, free: 1.652 MB / 346.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009929/1.076, allocations: 158.2 kB / 478.4 MB, free: 1.488 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01249/1.089, allocations: 3.023 MB / 481.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/1.089, allocations: 192 / 481.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008365/1.097, allocations: 2.052 MB / 483.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005562/1.103, allocations: 472.7 kB / 483.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02399/1.127, allocations: 6.122 MB / 490.1 MB, free: 5.625 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005699/1.133, allocations: 2.036 MB / 492.1 MB, free: 3.555 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/1.134, allocations: 123.4 kB / 492.2 MB, free: 3.434 MB / 362.7 MB Notification: Performance of SimCode: time 1.573e-06/1.134, allocations: 0 / 492.2 MB, free: 3.434 MB / 362.7 MB Notification: Performance of Templates: time 0.665/1.799, allocations: 86.91 MB / 0.5655 GB, free: 112.8 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_res.mat","/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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches