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_Initialize.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_Initialize,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_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,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_Initialize") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001307/0.001307, allocations: 174.2 kB / 17.36 MB, free: 4.445 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.799/1.799, allocations: 205.6 MB / 223.7 MB, free: 8.941 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.0008979/0.0008982, allocations: 86.44 kB / 272.1 MB, free: 8.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003421, allocations: 11.98 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2861, allocations: 47.57 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.006736/0.2929, allocations: 7.857 MB / 384.5 MB, free: 39.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00495/0.2978, allocations: 3.085 MB / 387.5 MB, free: 36.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.2993, allocations: 40.38 kB / 387.6 MB, free: 36.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.3008, allocations: 0.5264 MB / 388.1 MB, free: 36.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.3028, allocations: 0.6632 MB / 388.8 MB, free: 35.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006262/0.3035, allocations: 286 kB / 389.1 MB, free: 35.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002542/0.306, allocations: 2.771 MB / 391.8 MB, free: 33.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.3075, allocations: 1.405 MB / 393.2 MB, free: 31.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.3089, allocations: 0.8246 MB / 394.1 MB, free: 30.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.3101, allocations: 1.163 MB / 395.2 MB, free: 29.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001965/0.3103, allocations: 127.9 kB / 395.3 MB, free: 29.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00055/0.3109, allocations: 219.8 kB / 395.6 MB, free: 29.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005098/0.3114, allocations: 0.6151 MB / 396.2 MB, free: 28.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008499/0.3123, allocations: 1.082 MB / 397.3 MB, free: 27.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.3143, allocations: 3.441 MB / 400.7 MB, free: 24.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3143, allocations: 3.984 kB / 400.7 MB, free: 24.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3143, allocations: 0 / 400.7 MB, free: 24.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.209e-05/0.3144, allocations: 0 / 400.7 MB, free: 24.2 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.003515/0.3179, allocations: 2.197 MB / 402.9 MB, free: 21.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.318, allocations: 8.031 kB / 402.9 MB, free: 21.94 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00065/0.3186, allocations: 258.1 kB / 403.2 MB, free: 21.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.3204, allocations: 1.303 MB / 404.5 MB, free: 20.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.322e-05/0.3205, allocations: 135.9 kB / 404.6 MB, free: 20.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002322/0.3207, allocations: 188 kB / 404.8 MB, free: 20.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003629/0.3243, allocations: 2.41 MB / 407.2 MB, free: 17.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.419e-05/0.3244, allocations: 3.906 kB / 407.2 MB, free: 17.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/0.3245, allocations: 72 kB / 407.3 MB, free: 17.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.011e-05/0.3246, allocations: 91.48 kB / 407.4 MB, free: 17.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002732/0.3274, allocations: 2.024 MB / 409.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009011/0.3364, allocations: 7.491 MB / 416.9 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.3379, allocations: 1.28 MB / 418.1 MB, free: 6.332 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.3392, allocations: 0.9159 MB / 419.1 MB, free: 5.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/0.3394, allocations: 118.1 kB / 419.2 MB, free: 5.277 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.3394, allocations: 39.56 kB / 419.2 MB, free: 5.227 MB / 298.7 MB Notification: Performance of pre-optimization done (n=84): time 3.055e-06/0.3394, allocations: 0 / 419.2 MB, free: 5.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.007945/0.3474, allocations: 5.05 MB / 424.3 MB, free: 64 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.3475, allocations: 60.45 kB / 424.3 MB, free: 15.99 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/0.3493, allocations: 1.357 MB / 425.7 MB, free: 14.63 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.016e-05/0.3494, allocations: 45.7 kB / 425.7 MB, free: 14.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006326/0.35, allocations: 0.9047 MB / 426.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/0.3503, allocations: 350.9 kB / 427 MB, free: 13.31 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.369e-05/0.3504, allocations: 23.94 kB / 427 MB, free: 13.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3506, allocations: 353.9 kB / 427.3 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000945/0.3515, allocations: 0.635 MB / 428 MB, free: 12.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.3527, allocations: 0.9298 MB / 428.9 MB, free: 11.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.3549, allocations: 1.649 MB / 430.6 MB, free: 9.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.3549, allocations: 0 / 430.6 MB, free: 9.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004181/0.3591, allocations: 2.398 MB / 433 MB, free: 7.066 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.3591, allocations: 8 kB / 433 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.3592, allocations: 8 kB / 433 MB, free: 7.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001774/0.3609, allocations: 0.7121 MB / 433.7 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008523/0.3618, allocations: 243.6 kB / 433.9 MB, free: 6.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/0.372, allocations: 7.993 MB / 441.9 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.3735, allocations: 88.06 kB / 442 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.791e-05/0.3736, allocations: 47.98 kB / 442 MB, free: 13.7 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001469/0.3751, allocations: 0.6257 MB / 442.7 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003709/0.3754, allocations: 150.2 kB / 442.8 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003238/0.3787, allocations: 1.905 MB / 444.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.3787, allocations: 8 kB / 444.7 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.3787, allocations: 8.062 kB / 444.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.3788, allocations: 7.984 kB / 444.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006501/0.3853, allocations: 4.033 MB / 448.8 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.3853, allocations: 4 kB / 448.8 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007739/0.3861, allocations: 179.8 kB / 449 MB, free: 6.652 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001204/0.3873, allocations: 471.1 kB / 449.4 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.267e-05/0.3874, allocations: 27.98 kB / 449.4 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005822/0.3932, allocations: 6.152 MB / 455.6 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3932, allocations: 3.938 kB / 455.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004315/0.3976, allocations: 2.787 MB / 458.4 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008005/0.3984, allocations: 359.3 kB / 458.7 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/0.3986, allocations: 31.92 kB / 458.8 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007374/0.3993, allocations: 75.92 kB / 458.8 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.3996, allocations: 80.81 kB / 458.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.959e-05/0.3997, allocations: 31.98 kB / 459 MB, free: 12.17 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001508/0.4012, allocations: 0.9426 MB / 459.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4012, allocations: 0 / 459.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001464/0.4027, allocations: 432 kB / 460.3 MB, free: 10.8 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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.0003549/0.403, allocations: 196.7 kB / 460.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00325/0.4063, allocations: 2.012 MB / 462.5 MB, free: 8.574 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4063, allocations: 0 / 462.5 MB, free: 8.574 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002057/0.4084, allocations: 1.351 MB / 463.9 MB, free: 7.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.4103, allocations: 364.8 kB / 464.2 MB, free: 6.805 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006632/0.417, allocations: 4.98 MB / 469.2 MB, free: 1.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/0.4183, allocations: 1.689 MB / 470.9 MB, free: 44 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001095/0.4194, allocations: 316 kB / 471.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.4197, allocations: 95.42 kB / 471.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.282e-06/0.4197, allocations: 0 / 471.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of Templates: time 0.03957/0.4593, allocations: 22.71 MB / 494 MB, free: 9.027 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_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_Initialize/AIMC_Initialize.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches