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_withLosses.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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001663/0.001664, allocations: 176 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.796/1.796, 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.0007928/0.0007928, allocations: 98.52 kB / 272.1 MB, free: 8.113 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003473, allocations: 4 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3361, allocations: 47.58 MB / 376.6 MB, free: 45.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01025/0.3464, allocations: 8.533 MB / 385.1 MB, free: 38.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009196/0.3557, allocations: 3.926 MB / 389.1 MB, free: 35.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002061/0.3578, allocations: 42.38 kB / 389.1 MB, free: 35.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002186/0.36, allocations: 0.588 MB / 389.7 MB, free: 35.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002941/0.363, allocations: 0.7428 MB / 390.4 MB, free: 34.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.364, allocations: 412.9 kB / 390.8 MB, free: 34.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002563/0.3666, allocations: 3.056 MB / 393.9 MB, free: 31.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001365/0.3679, allocations: 1.481 MB / 395.4 MB, free: 29.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.3691, allocations: 0.9374 MB / 396.3 MB, free: 28.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.3706, allocations: 1.354 MB / 397.7 MB, free: 27.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002241/0.3708, allocations: 140 kB / 397.8 MB, free: 27.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008294/0.3716, allocations: 399.5 kB / 398.2 MB, free: 26.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006138/0.3723, allocations: 0.7825 MB / 399 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000971/0.3733, allocations: 1.291 MB / 400.3 MB, free: 24.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002644/0.3759, allocations: 4.021 MB / 404.3 MB, free: 20.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3759, allocations: 0 / 404.3 MB, free: 20.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.3759, allocations: 0 / 404.3 MB, free: 20.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.308e-05/0.376, allocations: 0 / 404.3 MB, free: 20.54 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.004421/0.3804, allocations: 2.695 MB / 407 MB, free: 17.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.3805, allocations: 12.03 kB / 407 MB, free: 17.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007239/0.3812, allocations: 325.2 kB / 407.3 MB, free: 17.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00225/0.3835, allocations: 1.592 MB / 408.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.857e-05/0.3836, allocations: 159.9 kB / 409.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002609/0.3839, allocations: 207.9 kB / 409.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004128/0.388, allocations: 2.698 MB / 412 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.281e-05/0.3881, allocations: 3.906 kB / 412 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/0.3883, allocations: 87.94 kB / 412.1 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/0.3884, allocations: 99.86 kB / 412.1 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00354/0.3919, allocations: 2.287 MB / 414.4 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01252/0.4045, allocations: 8.271 MB / 422.7 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002527/0.407, allocations: 1.634 MB / 424.3 MB, free: 16 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001979/0.409, allocations: 1.108 MB / 425.4 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003582/0.4094, allocations: 134.1 kB / 425.6 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.743e-05/0.4095, allocations: 47.5 kB / 425.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=116): time 4.839e-06/0.4095, allocations: 0 / 425.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=132): time 0.01381/0.4233, allocations: 6.261 MB / 431.9 MB, free: 8.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.4234, allocations: 64.72 kB / 432 MB, free: 8.262 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003047/0.4265, allocations: 2.141 MB / 434.1 MB, free: 6.074 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.4266, allocations: 49.7 kB / 434.1 MB, free: 6.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008901/0.4275, allocations: 1.108 MB / 435.2 MB, free: 4.898 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003799/0.4279, allocations: 457.3 kB / 435.7 MB, free: 4.445 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.465e-05/0.428, allocations: 24 kB / 435.7 MB, free: 4.422 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.4282, allocations: 365.9 kB / 436.1 MB, free: 4.059 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.4294, allocations: 0.769 MB / 436.8 MB, free: 3.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.4309, allocations: 1.017 MB / 437.9 MB, free: 2.184 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002873/0.4338, allocations: 1.877 MB / 439.7 MB, free: 224 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.4338, allocations: 4 kB / 439.7 MB, free: 220 kB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005011/0.4388, allocations: 2.769 MB / 442.5 MB, free: 13.42 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.4389, allocations: 10.81 kB / 442.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.4389, allocations: 11.94 kB / 442.5 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001927/0.4408, allocations: 0.7889 MB / 443.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.4419, allocations: 275.6 kB / 443.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/0.4532, allocations: 8.735 MB / 452.3 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.4547, allocations: 103.8 kB / 452.4 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.4548, allocations: 47.98 kB / 452.5 MB, free: 3.184 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * 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,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001511/0.4563, allocations: 0.7507 MB / 453.2 MB, free: 2.426 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003811/0.4567, allocations: 201.5 kB / 453.4 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004834/0.4616, allocations: 2.515 MB / 455.9 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.854e-05/0.4616, allocations: 16 kB / 456 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.4616, allocations: 4 kB / 456 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/0.4616, allocations: 11.97 kB / 456 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008784/0.4704, allocations: 4.964 MB / 460.9 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.4705, allocations: 4.156 kB / 460.9 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.4715, allocations: 219.9 kB / 461.2 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00175/0.4733, allocations: 0.651 MB / 461.8 MB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.4734, allocations: 35.97 kB / 461.8 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009104/0.4825, allocations: 7.909 MB / 469.7 MB, free: 1.367 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.4825, allocations: 16.03 kB / 469.8 MB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006811/0.4894, allocations: 3.553 MB / 473.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/0.4906, allocations: 454.4 kB / 473.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/0.4908, allocations: 27.98 kB / 473.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009201/0.4917, allocations: 91.91 kB / 473.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000369/0.4921, allocations: 108.8 kB / 474 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.4922, allocations: 39.97 kB / 474 MB, free: 13.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002581/0.4948, allocations: 1.504 MB / 475.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4948, allocations: 0 / 475.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002251/0.4971, allocations: 0.5234 MB / 476 MB, free: 10.97 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * 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,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001339/0.4984, allocations: 0.5009 MB / 476.5 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004482/0.5029, allocations: 2.392 MB / 478.9 MB, free: 8.145 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.5029, allocations: 0 / 478.9 MB, free: 8.145 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002726/0.5057, allocations: 1.613 MB / 480.6 MB, free: 6.469 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/0.5081, allocations: 422.3 kB / 481 MB, free: 6.051 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009323/0.5174, allocations: 6.284 MB / 487.3 MB, free: 15.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/0.5195, allocations: 1.943 MB / 489.2 MB, free: 13.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001498/0.521, allocations: 391.6 kB / 489.6 MB, free: 13.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/0.5213, allocations: 127.4 kB / 489.7 MB, free: 13.23 MB / 378.7 MB Notification: Performance of SimCode: time 1.203e-06/0.5213, allocations: 0 / 489.7 MB, free: 13.23 MB / 378.7 MB Notification: Performance of Templates: time 0.2668/0.7882, allocations: 28.4 MB / 0.506 GB, free: 102.3 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_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_withLosses/AIMC_withLosses.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches