Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_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_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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008422/0.0008422, allocations: 93.02 kB / 17.3 MB, free: 6.391 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.0009909/0.0009913, allocations: 171.6 kB / 18.2 MB, free: 5.551 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.961/1.961, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0005286/0.000529, allocations: 16 kB / 281.4 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1403, allocations: 47.58 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01275/0.1531, allocations: 8.773 MB / 337.7 MB, free: 10.94 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008377/0.1616, allocations: 2.969 MB / 340.7 MB, free: 7.957 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.1634, allocations: 35.81 kB / 340.7 MB, free: 7.922 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001965/0.1653, allocations: 0.5516 MB / 341.3 MB, free: 7.367 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002781/0.1681, allocations: 0.6995 MB / 342 MB, free: 6.664 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000974/0.1691, allocations: 315.7 kB / 342.3 MB, free: 6.355 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004187/0.1733, allocations: 3.121 MB / 345.4 MB, free: 3.223 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002094/0.1754, allocations: 1.552 MB / 347 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002194/0.1776, allocations: 0.9023 MB / 347.9 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002428/0.1801, allocations: 1.295 MB / 349.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003211/0.1804, allocations: 132 kB / 349.3 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008121/0.1812, allocations: 231.8 kB / 349.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007559/0.182, allocations: 0.6851 MB / 350.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001573/0.1836, allocations: 1.206 MB / 351.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00435/0.1879, allocations: 3.823 MB / 355.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.188, allocations: 0 / 355.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.188, allocations: 0 / 355.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001228/0.1881, allocations: 0 / 355.2 MB, free: 9.312 MB / 302.1 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.005826/0.194, allocations: 2.425 MB / 357.7 MB, free: 6.824 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.194, allocations: 12.03 kB / 357.7 MB, free: 6.812 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008182/0.1949, allocations: 285.7 kB / 358 MB, free: 6.531 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002614/0.1975, allocations: 1.43 MB / 359.4 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.1976, allocations: 152.4 kB / 359.5 MB, free: 4.891 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003249/0.198, allocations: 208 kB / 359.7 MB, free: 4.688 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005055/0.203, allocations: 2.744 MB / 362.5 MB, free: 1.855 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.717e-05/0.2031, allocations: 7.938 kB / 362.5 MB, free: 1.848 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002003/0.2033, allocations: 91.92 kB / 362.6 MB, free: 1.758 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/0.2034, allocations: 95.92 kB / 362.7 MB, free: 1.664 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004235/0.2077, allocations: 2.334 MB / 365 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01555/0.2233, allocations: 8.473 MB / 373.5 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/0.2257, allocations: 1.779 MB / 375.3 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002022/0.2278, allocations: 1.073 MB / 376.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002978/0.2281, allocations: 118.1 kB / 376.4 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.225e-05/0.2282, allocations: 47.56 kB / 376.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 4.058e-06/0.2282, allocations: 0 / 376.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.3225/0.5507, allocations: 6.387 MB / 382.9 MB, free: 40.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.5508, allocations: 65.59 kB / 382.9 MB, free: 40.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004124/0.555, allocations: 1.52 MB / 384.5 MB, free: 39.94 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002637/0.5553, allocations: 46.89 kB / 384.5 MB, free: 39.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001584/0.5568, allocations: 0.9885 MB / 385.5 MB, free: 39.47 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006719/0.5575, allocations: 408.2 kB / 385.9 MB, free: 39.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003209/0.5579, allocations: 119.7 kB / 386 MB, free: 39.2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.5581, allocations: 361.2 kB / 386.4 MB, free: 38.89 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001836/0.5599, allocations: 0.7456 MB / 387.1 MB, free: 38.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002108/0.562, allocations: 1.066 MB / 388.2 MB, free: 38.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003947/0.566, allocations: 1.892 MB / 390.1 MB, free: 37.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.458e-05/0.566, allocations: 3.141 kB / 390.1 MB, free: 37.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00559/0.5716, allocations: 2.374 MB / 392.4 MB, free: 37.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.362e-05/0.5717, allocations: 10.53 kB / 392.5 MB, free: 37.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.5717, allocations: 8.906 kB / 392.5 MB, free: 37.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.5729, allocations: 403.2 kB / 392.9 MB, free: 36.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.5743, allocations: 333.9 kB / 393.2 MB, free: 36.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004964/0.5793, allocations: 4.658 MB / 397.8 MB, free: 33.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.581, allocations: 91.8 kB / 397.9 MB, free: 33.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.5812, allocations: 52.62 kB / 398 MB, free: 33.41 MB / 318.1 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[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 (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00181/0.583, allocations: 0.7021 MB / 398.7 MB, free: 33.05 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004618/0.5834, allocations: 172.2 kB / 398.9 MB, free: 32.96 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003677/0.5871, allocations: 2.149 MB / 401 MB, free: 32.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.5872, allocations: 14.41 kB / 401 MB, free: 32.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.5872, allocations: 4.531 kB / 401 MB, free: 32.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.5872, allocations: 7.125 kB / 401 MB, free: 32.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006782/0.594, allocations: 4.604 MB / 405.6 MB, free: 29.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.594, allocations: 4 kB / 405.6 MB, free: 29.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008663/0.5949, allocations: 226.3 kB / 405.9 MB, free: 29.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/0.596, allocations: 474.6 kB / 406.3 MB, free: 29.29 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-05/0.5961, allocations: 27.98 kB / 406.3 MB, free: 29.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005026/0.6011, allocations: 6.156 MB / 412.5 MB, free: 22.74 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.6011, allocations: 2.344 kB / 412.5 MB, free: 22.74 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004463/0.6056, allocations: 3.205 MB / 415.7 MB, free: 19.49 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008989/0.6065, allocations: 410.8 kB / 416.1 MB, free: 19.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/0.6067, allocations: 28 kB / 416.1 MB, free: 19.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008034/0.6075, allocations: 79.91 kB / 416.2 MB, free: 18.96 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002949/0.6078, allocations: 109.9 kB / 416.3 MB, free: 18.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.376e-05/0.6079, allocations: 35.98 kB / 416.4 MB, free: 18.83 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001545/0.6095, allocations: 1.048 MB / 417.4 MB, free: 17.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6095, allocations: 0 / 417.4 MB, free: 17.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001901/0.6114, allocations: 463.9 kB / 417.9 MB, free: 17.33 MB / 318.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: 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 (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,1,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.0003587/0.6117, allocations: 181.7 kB / 418 MB, free: 17.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00318/0.6149, allocations: 2.28 MB / 420.3 MB, free: 14.85 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.615, allocations: 4.188 kB / 420.3 MB, free: 14.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001872/0.6168, allocations: 1.501 MB / 421.8 MB, free: 13.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002457/0.6193, allocations: 426.2 kB / 422.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006933/0.6262, allocations: 5.553 MB / 427.8 MB, free: 7.305 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001315/0.6276, allocations: 1.819 MB / 429.6 MB, free: 5.457 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001405/0.629, allocations: 393.5 kB / 430 MB, free: 5.066 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/0.6293, allocations: 107.4 kB / 430.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of SimCode: time 1.703e-06/0.6293, allocations: 2.078 kB / 430.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of Templates: time 0.04926/0.6786, allocations: 24.14 MB / 454.2 MB, free: 12.85 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches