Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0018/0.0018, allocations: 175.9 kB / 17.36 MB, free: 4.316 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.6 MB / 223.7 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 90.78 kB / 272.1 MB, free: 8.129 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003026, allocations: 7.984 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3028, allocations: 47.59 MB / 376.6 MB, free: 45.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.008263/0.3111, allocations: 8.292 MB / 384.9 MB, free: 39.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006547/0.3177, allocations: 3.194 MB / 388.1 MB, free: 36.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.3192, allocations: 38.38 kB / 388.1 MB, free: 36.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.3208, allocations: 0.5507 MB / 388.7 MB, free: 35.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002536/0.3234, allocations: 0.7005 MB / 389.4 MB, free: 35.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008459/0.3242, allocations: 321.1 kB / 389.7 MB, free: 35.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00265/0.3269, allocations: 3.113 MB / 392.8 MB, free: 32.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.3284, allocations: 1.552 MB / 394.4 MB, free: 30.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.3295, allocations: 0.9334 MB / 395.3 MB, free: 29.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.3307, allocations: 1.276 MB / 396.6 MB, free: 28.35 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001954/0.3309, allocations: 136 kB / 396.7 MB, free: 28.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005164/0.3314, allocations: 235.8 kB / 396.9 MB, free: 27.99 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005018/0.332, allocations: 0.6774 MB / 397.6 MB, free: 27.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009659/0.3329, allocations: 1.206 MB / 398.8 MB, free: 26.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002167/0.3351, allocations: 3.815 MB / 402.6 MB, free: 22.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.3351, allocations: 0 / 402.6 MB, free: 22.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3351, allocations: 0 / 402.6 MB, free: 22.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.505e-05/0.3352, allocations: 4 kB / 402.6 MB, free: 22.26 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.003533/0.3387, allocations: 2.425 MB / 405.1 MB, free: 19.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3388, allocations: 8.031 kB / 405.1 MB, free: 19.76 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005453/0.3393, allocations: 293.7 kB / 405.4 MB, free: 19.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.3411, allocations: 1.434 MB / 406.8 MB, free: 17.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.239e-05/0.3412, allocations: 148.4 kB / 406.9 MB, free: 17.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/0.3414, allocations: 208 kB / 407.1 MB, free: 17.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003585/0.345, allocations: 2.728 MB / 409.9 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.331e-05/0.3451, allocations: 7.938 kB / 409.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.3452, allocations: 80 kB / 410 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.693e-05/0.3453, allocations: 103.9 kB / 410.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002961/0.3483, allocations: 2.33 MB / 412.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009525/0.3578, allocations: 8.457 MB / 420.8 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.3594, allocations: 1.776 MB / 422.6 MB, free: 1.707 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.3609, allocations: 1.065 MB / 423.7 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/0.3611, allocations: 114.1 kB / 423.8 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.3612, allocations: 55.48 kB / 423.9 MB, free: 460 kB / 298.7 MB Notification: Performance of pre-optimization done (n=104): time 3.707e-06/0.3612, allocations: 3.984 kB / 423.9 MB, free: 456 kB / 298.7 MB Notification: Performance of matching and sorting (n=120): time 0.01255/0.3737, allocations: 6.386 MB / 430.2 MB, free: 9.922 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.3738, allocations: 68.41 kB / 430.3 MB, free: 9.844 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/0.3761, allocations: 1.501 MB / 431.8 MB, free: 8.332 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.048e-05/0.3762, allocations: 45.7 kB / 431.9 MB, free: 8.281 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000754/0.377, allocations: 0.9834 MB / 432.8 MB, free: 7.285 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003305/0.3773, allocations: 421.9 kB / 433.2 MB, free: 6.867 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.931e-05/0.3774, allocations: 31.88 kB / 433.3 MB, free: 6.836 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.3776, allocations: 361.9 kB / 433.6 MB, free: 6.477 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.3787, allocations: 0.7339 MB / 434.4 MB, free: 5.742 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.3801, allocations: 1.063 MB / 435.4 MB, free: 4.547 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002634/0.3828, allocations: 1.875 MB / 437.3 MB, free: 2.539 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3828, allocations: 0 / 437.3 MB, free: 2.539 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004132/0.3869, allocations: 2.365 MB / 439.7 MB, free: 156 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.387, allocations: 8 kB / 439.7 MB, free: 148 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.387, allocations: 12 kB / 439.7 MB, free: 136 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009823/0.388, allocations: 407.3 kB / 440.1 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.3893, allocations: 335.5 kB / 440.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005045/0.3943, allocations: 4.653 MB / 445.1 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.3955, allocations: 87.91 kB / 445.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.745e-05/0.3956, allocations: 56 kB / 445.2 MB, free: 10.33 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 (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.001364/0.397, allocations: 0.7082 MB / 445.9 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/0.3973, allocations: 166 kB / 446.1 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003702/0.401, allocations: 2.156 MB / 448.2 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.401, allocations: 12 kB / 448.2 MB, free: 7.246 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.401, allocations: 4 kB / 448.3 MB, free: 7.242 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.401, allocations: 11.91 kB / 448.3 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007341/0.4084, allocations: 4.585 MB / 452.8 MB, free: 2.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.4084, allocations: 4 kB / 452.9 MB, free: 2.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009699/0.4094, allocations: 227.9 kB / 453.1 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.4106, allocations: 470.9 kB / 453.5 MB, free: 1.848 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.572e-05/0.4107, allocations: 31.98 kB / 453.6 MB, free: 1.816 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006152/0.4169, allocations: 6.145 MB / 459.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.4169, allocations: 7.938 kB / 459.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00507/0.422, allocations: 3.198 MB / 462.9 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009574/0.423, allocations: 403 kB / 463.3 MB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/0.4232, allocations: 28 kB / 463.3 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007825/0.424, allocations: 79.91 kB / 463.4 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003102/0.4243, allocations: 108.8 kB / 463.5 MB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.132e-05/0.4244, allocations: 39.92 kB / 463.6 MB, free: 7.344 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001802/0.4262, allocations: 1.032 MB / 464.6 MB, free: 6.312 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4262, allocations: 0 / 464.6 MB, free: 6.312 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00169/0.4279, allocations: 464 kB / 465 MB, free: 5.859 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 (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.0004354/0.4283, allocations: 202.8 kB / 465.2 MB, free: 5.648 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003608/0.432, allocations: 2.274 MB / 467.5 MB, free: 3.309 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.432, allocations: 0 / 467.5 MB, free: 3.309 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002238/0.4342, allocations: 1.492 MB / 469 MB, free: 1.754 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.4365, allocations: 414 kB / 469.4 MB, free: 1.352 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008198/0.4447, allocations: 5.548 MB / 475 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/0.4465, allocations: 1.819 MB / 476.8 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001377/0.4479, allocations: 401.5 kB / 477.2 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/0.4482, allocations: 103.4 kB / 477.3 MB, free: 9.395 MB / 362.7 MB Notification: Performance of SimCode: time 1.243e-06/0.4482, allocations: 4 kB / 477.3 MB, free: 9.391 MB / 362.7 MB Notification: Performance of Templates: time 0.04906/0.4973, allocations: 24.16 MB / 0.4897 GB, free: 1.324 MB / 378.7 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