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_YD.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_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_YD") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001641/0.001641, allocations: 180 kB / 17.36 MB, free: 4.324 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.669/1.669, allocations: 205.6 MB / 223.7 MB, free: 8.961 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.0007837/0.0007837, allocations: 90.2 kB / 272.1 MB, free: 8.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003118, allocations: 8 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.37, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01014/0.3802, allocations: 8.667 MB / 385.3 MB, free: 38.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008729/0.389, allocations: 3.3 MB / 388.6 MB, free: 36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002217/0.3913, allocations: 39.44 kB / 388.6 MB, free: 35.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002078/0.3934, allocations: 0.5855 MB / 389.2 MB, free: 35.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003456/0.3968, allocations: 0.7536 MB / 390 MB, free: 34.94 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.398, allocations: 341.6 kB / 390.3 MB, free: 34.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004419/0.4024, allocations: 3.529 MB / 393.8 MB, free: 31.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002434/0.4049, allocations: 2.004 MB / 395.8 MB, free: 29.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002731/0.4076, allocations: 1.042 MB / 396.9 MB, free: 28.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002519/0.4102, allocations: 1.424 MB / 398.3 MB, free: 26.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003725/0.4106, allocations: 160 kB / 398.4 MB, free: 26.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000908/0.4115, allocations: 259.8 kB / 398.7 MB, free: 26.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008195/0.4123, allocations: 0.7513 MB / 399.4 MB, free: 25.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001932/0.4143, allocations: 1.354 MB / 400.8 MB, free: 24.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00422/0.4185, allocations: 4.387 MB / 405.2 MB, free: 19.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.4185, allocations: 8 kB / 405.2 MB, free: 19.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4185, allocations: 3.938 kB / 405.2 MB, free: 19.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000126/0.4187, allocations: 0 / 405.2 MB, free: 19.7 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.005865/0.4245, allocations: 2.738 MB / 407.9 MB, free: 16.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.4246, allocations: 15.97 kB / 408 MB, free: 16.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008155/0.4254, allocations: 317.4 kB / 408.3 MB, free: 16.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002617/0.4281, allocations: 1.623 MB / 409.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.4282, allocations: 168.9 kB / 410.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003288/0.4285, allocations: 239.8 kB / 410.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005183/0.4337, allocations: 3.177 MB / 413.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.004e-05/0.4338, allocations: 11.83 kB / 413.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002051/0.434, allocations: 96 kB / 413.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/0.4341, allocations: 100.4 kB / 413.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004447/0.4386, allocations: 2.754 MB / 416.4 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01642/0.455, allocations: 9.937 MB / 426.4 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003511/0.4586, allocations: 2.103 MB / 428.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002078/0.4608, allocations: 1.203 MB / 429.7 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003016/0.4611, allocations: 126.1 kB / 429.8 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.399e-05/0.4611, allocations: 51.5 kB / 429.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=126): time 4.549e-06/0.4612, allocations: 4 kB / 429.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=142): time 0.01901/0.4802, allocations: 8.097 MB / 437.9 MB, free: 2.184 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.4803, allocations: 64.72 kB / 438 MB, free: 2.105 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002641/0.4829, allocations: 1.668 MB / 439.7 MB, free: 440 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.4831, allocations: 49.7 kB / 439.7 MB, free: 384 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008682/0.484, allocations: 1.089 MB / 440.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004582/0.4844, allocations: 488.9 kB / 441.3 MB, free: 14.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.447e-05/0.4845, allocations: 35.94 kB / 441.3 MB, free: 14.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.4847, allocations: 369.9 kB / 441.7 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.4862, allocations: 0.9135 MB / 442.6 MB, free: 13.47 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.4879, allocations: 1.271 MB / 443.9 MB, free: 12.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003186/0.4911, allocations: 2.258 MB / 446.1 MB, free: 9.652 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.4911, allocations: 8 kB / 446.1 MB, free: 9.645 MB / 330.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005599/0.4967, allocations: 3.048 MB / 449.2 MB, free: 6.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.4967, allocations: 12 kB / 449.2 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.4968, allocations: 8 kB / 449.2 MB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002085/0.4989, allocations: 0.8483 MB / 450 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.5, allocations: 303.5 kB / 450.3 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/0.5108, allocations: 9.09 MB / 459.4 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.5127, allocations: 104 kB / 459.5 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.5128, allocations: 60 kB / 459.6 MB, free: 11.74 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (9,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002335/0.5151, allocations: 0.8084 MB / 460.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005735/0.5157, allocations: 193.7 kB / 460.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0051/0.5208, allocations: 2.85 MB / 463.4 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.5209, allocations: 16 kB / 463.5 MB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.5209, allocations: 8 kB / 463.5 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.5209, allocations: 7.969 kB / 463.5 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009857/0.5308, allocations: 5.702 MB / 469.2 MB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.5309, allocations: 4 kB / 469.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009855/0.5318, allocations: 195.7 kB / 469.4 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002207/0.5341, allocations: 0.9021 MB / 470.3 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.5342, allocations: 35.98 kB / 470.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01198/0.5462, allocations: 10.57 MB / 480.9 MB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.5462, allocations: 3.938 kB / 480.9 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006866/0.5531, allocations: 4.168 MB / 485 MB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/0.5543, allocations: 458.8 kB / 485.5 MB, free: 1.055 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002372/0.5545, allocations: 35.98 kB / 485.5 MB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008875/0.5554, allocations: 91.92 kB / 485.6 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00042/0.5559, allocations: 145 kB / 485.8 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.319e-05/0.556, allocations: 47.98 kB / 485.8 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001731/0.5577, allocations: 1.138 MB / 486.9 MB, free: 15.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5577, allocations: 0 / 486.9 MB, free: 15.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001793/0.5595, allocations: 0.5586 MB / 487.5 MB, free: 15.05 MB / 378.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: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,19,33.3%), (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.0004109/0.5599, allocations: 199.3 kB / 487.7 MB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005424/0.5654, allocations: 3.01 MB / 490.7 MB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.5654, allocations: 0 / 490.7 MB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003639/0.5691, allocations: 2.045 MB / 492.8 MB, free: 9.637 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/0.5722, allocations: 490.2 kB / 493.2 MB, free: 9.156 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.5826, allocations: 6.342 MB / 499.6 MB, free: 2.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002087/0.5847, allocations: 2.024 MB / 0.4898 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001499/0.5863, allocations: 407.3 kB / 0.4902 GB, free: 296 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003333/0.5866, allocations: 111.4 kB / 0.4903 GB, free: 184 kB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5866, allocations: 0 / 0.4903 GB, free: 184 kB / 378.7 MB Notification: Performance of Templates: time 0.2411/0.8277, allocations: 30.89 MB / 0.5205 GB, free: 86.11 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_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_YD/AIMC_YD.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches