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_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 175.2 kB / 16.72 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007322/0.0007322, allocations: 90.31 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005682/0.0005683, allocations: 12 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2808, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.00758/0.2885, allocations: 8.269 MB / 383.4 MB, free: 38.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005429/0.294, allocations: 2.835 MB / 386.2 MB, free: 36.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.2952, allocations: 37.5 kB / 386.2 MB, free: 36.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.2968, allocations: 0.5084 MB / 386.7 MB, free: 36.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.2987, allocations: 0.6777 MB / 387.4 MB, free: 35.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006335/0.2994, allocations: 224.1 kB / 387.6 MB, free: 35.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002651/0.3021, allocations: 2.818 MB / 390.5 MB, free: 33.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001467/0.3035, allocations: 1.554 MB / 392 MB, free: 31.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.305, allocations: 0.9066 MB / 392.9 MB, free: 30.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00144/0.3064, allocations: 1.241 MB / 394.2 MB, free: 29.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000243/0.3067, allocations: 136 kB / 394.3 MB, free: 29.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005688/0.3072, allocations: 235.7 kB / 394.5 MB, free: 29.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004951/0.3077, allocations: 0.6814 MB / 395.2 MB, free: 28.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.3088, allocations: 1.156 MB / 396.4 MB, free: 27.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002125/0.311, allocations: 3.276 MB / 399.6 MB, free: 24.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.311, allocations: 3.984 kB / 399.6 MB, free: 24.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.311, allocations: 0 / 399.6 MB, free: 24.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.227e-05/0.311, allocations: 0 / 399.6 MB, free: 24.04 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.004078/0.3151, allocations: 2.413 MB / 402.1 MB, free: 21.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3152, allocations: 12.03 kB / 402.1 MB, free: 21.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006792/0.3159, allocations: 285.7 kB / 402.4 MB, free: 21.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/0.3179, allocations: 1.441 MB / 403.8 MB, free: 19.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.444e-05/0.318, allocations: 152.4 kB / 403.9 MB, free: 19.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000245/0.3183, allocations: 204 kB / 404.1 MB, free: 19.42 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003927/0.3222, allocations: 2.732 MB / 406.9 MB, free: 16.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.172e-05/0.3223, allocations: 3.938 kB / 406.9 MB, free: 16.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001733/0.3224, allocations: 84 kB / 407 MB, free: 16.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.576e-05/0.3225, allocations: 95.92 kB / 407.1 MB, free: 16.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003428/0.326, allocations: 2.322 MB / 409.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01109/0.3371, allocations: 8.481 MB / 417.9 MB, free: 5.371 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.3388, allocations: 1.775 MB / 419.6 MB, free: 3.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.3403, allocations: 1.062 MB / 420.7 MB, free: 2.422 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/0.3406, allocations: 122.1 kB / 420.8 MB, free: 2.285 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.3406, allocations: 51.5 kB / 420.9 MB, free: 2.223 MB / 298.7 MB Notification: Performance of pre-optimization done (n=104): time 3.487e-06/0.3406, allocations: 0 / 420.9 MB, free: 2.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=120): time 0.01246/0.3531, allocations: 6.39 MB / 427.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.3532, allocations: 64.41 kB / 427.3 MB, free: 11.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002354/0.3556, allocations: 1.501 MB / 428.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.3557, allocations: 49.7 kB / 428.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007894/0.3565, allocations: 0.9834 MB / 429.8 MB, free: 9.059 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003824/0.3569, allocations: 421.9 kB / 430.3 MB, free: 8.641 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.873e-05/0.357, allocations: 24 kB / 430.3 MB, free: 8.617 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3572, allocations: 365.9 kB / 430.6 MB, free: 8.254 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.3584, allocations: 0.7261 MB / 431.4 MB, free: 7.527 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.3598, allocations: 1.067 MB / 432.4 MB, free: 6.328 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002713/0.3626, allocations: 1.875 MB / 434.3 MB, free: 4.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.3626, allocations: 4 kB / 434.3 MB, free: 4.316 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00409/0.3667, allocations: 2.357 MB / 436.7 MB, free: 1.938 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.3667, allocations: 11.94 kB / 436.7 MB, free: 1.926 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.3667, allocations: 11.98 kB / 436.7 MB, free: 1.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009955/0.3677, allocations: 415.5 kB / 437.1 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.369, allocations: 327.5 kB / 437.4 MB, free: 1.176 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005008/0.374, allocations: 4.664 MB / 442.1 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.3753, allocations: 87.91 kB / 442.2 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.3755, allocations: 55.98 kB / 442.2 MB, free: 12.1 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001482/0.377, allocations: 0.7043 MB / 442.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/0.3772, allocations: 162 kB / 443.1 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003724/0.381, allocations: 2.156 MB / 445.2 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/0.381, allocations: 19.94 kB / 445.3 MB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.381, allocations: 4 kB / 445.3 MB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/0.381, allocations: 11.91 kB / 445.3 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007401/0.3884, allocations: 4.581 MB / 449.9 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.964e-06/0.3885, allocations: 0 / 449.9 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009874/0.3895, allocations: 231.9 kB / 450.1 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001183/0.3907, allocations: 466.9 kB / 450.5 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.385e-05/0.3908, allocations: 31.98 kB / 450.6 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00604/0.3969, allocations: 6.152 MB / 456.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/0.3969, allocations: 3.938 kB / 456.7 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004967/0.4019, allocations: 3.194 MB / 459.9 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008777/0.4028, allocations: 403 kB / 460.3 MB, free: 9.379 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/0.403, allocations: 27.98 kB / 460.3 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007597/0.4038, allocations: 83.92 kB / 460.4 MB, free: 9.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002549/0.404, allocations: 104.8 kB / 460.5 MB, free: 9.168 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.232e-05/0.4041, allocations: 39.92 kB / 460.6 MB, free: 9.129 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001605/0.4057, allocations: 1.036 MB / 461.6 MB, free: 8.094 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4057, allocations: 4 kB / 461.6 MB, free: 8.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001443/0.4072, allocations: 456 kB / 462 MB, free: 7.645 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: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003567/0.4076, allocations: 194.6 kB / 462.2 MB, free: 7.445 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003493/0.4111, allocations: 2.277 MB / 464.5 MB, free: 5.102 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4111, allocations: 0 / 464.5 MB, free: 5.102 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002214/0.4133, allocations: 1.493 MB / 466 MB, free: 3.547 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/0.4158, allocations: 426.8 kB / 466.4 MB, free: 3.133 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008204/0.424, allocations: 5.353 MB / 471.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001602/0.4257, allocations: 1.791 MB / 473.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005749/0.4263, allocations: 119.4 kB / 473.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.4263, allocations: 0 / 473.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of Templates: time 0.2718/0.6981, allocations: 69.55 MB / 0.5305 GB, free: 76.68 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_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_DOL/AIMC_DOL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches