Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,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|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,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|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009882/0.0009882, allocations: 178.4 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 225.7 MB / 243.2 MB, free: 10.21 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000795/0.0007952, allocations: 95.75 kB / 294.4 MB, free: 9.75 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002631/0.0002631, allocations: 7.938 kB / 354.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2118, allocations: 50.42 MB / 404.6 MB, free: 31.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.006091/0.2179, allocations: 7.833 MB / 412.4 MB, free: 23.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005109/0.2231, allocations: 2.989 MB / 415.4 MB, free: 20.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.2242, allocations: 39.81 kB / 415.5 MB, free: 20.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.2255, allocations: 0.5167 MB / 416 MB, free: 19.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.2273, allocations: 0.645 MB / 416.6 MB, free: 19.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.2278, allocations: 287.7 kB / 416.9 MB, free: 18.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001777/0.2296, allocations: 2.565 MB / 419.5 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.2309, allocations: 1.429 MB / 420.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009031/0.2318, allocations: 0.7896 MB / 421.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.2328, allocations: 1.097 MB / 422.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.233, allocations: 116 kB / 422.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004517/0.2335, allocations: 215.8 kB / 423.1 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004162/0.2339, allocations: 0.5839 MB / 423.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007326/0.2346, allocations: 1.028 MB / 424.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00187/0.2365, allocations: 3.293 MB / 428 MB, free: 7.762 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2365, allocations: 0 / 428 MB, free: 7.762 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2365, allocations: 7.938 kB / 428 MB, free: 7.754 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.274e-05/0.2366, allocations: 0 / 428 MB, free: 7.754 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.003224/0.2398, allocations: 2.127 MB / 430.1 MB, free: 5.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2399, allocations: 8.031 kB / 430.1 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004955/0.2404, allocations: 246.3 kB / 430.4 MB, free: 5.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.2419, allocations: 1.266 MB / 431.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.508e-05/0.242, allocations: 135.9 kB / 431.8 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.2422, allocations: 188 kB / 432 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003075/0.2453, allocations: 2.371 MB / 434.3 MB, free: 1.285 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.177e-05/0.2453, allocations: 4 kB / 434.3 MB, free: 1.281 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.2455, allocations: 75.98 kB / 434.4 MB, free: 1.207 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.165e-05/0.2456, allocations: 91.5 kB / 434.5 MB, free: 1.117 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003112/0.2487, allocations: 1.973 MB / 436.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0107/0.2594, allocations: 7.175 MB / 443.7 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.2612, allocations: 1.28 MB / 444.9 MB, free: 6.422 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.2626, allocations: 0.8892 MB / 445.8 MB, free: 5.535 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002067/0.2629, allocations: 122.1 kB / 445.9 MB, free: 5.398 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.2629, allocations: 39.56 kB / 446 MB, free: 5.348 MB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 3.186e-06/0.2629, allocations: 0 / 446 MB, free: 5.348 MB / 314.7 MB Notification: Performance of matching and sorting (n=104): time 0.01292/0.2759, allocations: 6.183 MB / 452.2 MB, free: 15.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.2759, allocations: 64.41 kB / 452.2 MB, free: 14.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/0.2777, allocations: 1.207 MB / 453.4 MB, free: 13.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/0.2777, allocations: 41.7 kB / 453.5 MB, free: 13.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006694/0.2784, allocations: 0.8729 MB / 454.3 MB, free: 12.78 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003056/0.2787, allocations: 362.8 kB / 454.7 MB, free: 12.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.2788, allocations: 24 kB / 454.7 MB, free: 12.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.279, allocations: 361.9 kB / 455.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009665/0.2799, allocations: 0.6233 MB / 455.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.2811, allocations: 0.9227 MB / 456.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002298/0.2834, allocations: 1.647 MB / 458.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.2834, allocations: 4 kB / 458.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003641/0.2871, allocations: 2.227 MB / 460.5 MB, free: 6.312 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.2871, allocations: 12 kB / 460.5 MB, free: 6.301 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/0.2871, allocations: 11.98 kB / 460.5 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.2882, allocations: 476.2 kB / 461 MB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000966/0.2892, allocations: 279.6 kB / 461.3 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006486/0.2957, allocations: 6.436 MB / 467.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.2969, allocations: 91.83 kB / 467.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.297, allocations: 51.98 kB / 467.8 MB, free: 14.55 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * 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%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001118/0.2981, allocations: 0.5949 MB / 468.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/0.2983, allocations: 130.4 kB / 468.6 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003376/0.3017, allocations: 2.047 MB / 470.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.3017, allocations: 8 kB / 470.6 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.3018, allocations: 7.984 kB / 470.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.3018, allocations: 3.984 kB / 470.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006944/0.3087, allocations: 4.243 MB / 474.9 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.3088, allocations: 4 kB / 474.9 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007251/0.3095, allocations: 180.2 kB / 475.1 MB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.3108, allocations: 0.5271 MB / 475.6 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.152e-05/0.3109, allocations: 31.98 kB / 475.6 MB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007729/0.3186, allocations: 7.921 MB / 483.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.3187, allocations: 4 kB / 483.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004634/0.3233, allocations: 2.963 MB / 486.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007431/0.3241, allocations: 351.3 kB / 486.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/0.3243, allocations: 31.98 kB / 486.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007053/0.325, allocations: 71.92 kB / 486.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/0.3252, allocations: 96.75 kB / 487 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.579e-05/0.3253, allocations: 35.98 kB / 487.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001234/0.3266, allocations: 0.8226 MB / 487.9 MB, free: 9.641 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3266, allocations: 0 / 487.9 MB, free: 9.641 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001403/0.328, allocations: 404 kB / 488.3 MB, free: 9.246 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,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 (88): * Single equations (assignments): 83 * 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,6,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.0003766/0.3284, allocations: 198.9 kB / 488.5 MB, free: 9.043 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003463/0.3318, allocations: 2.172 MB / 490.7 MB, free: 6.785 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.3319, allocations: 0 / 490.7 MB, free: 6.785 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002201/0.3341, allocations: 1.484 MB / 492.1 MB, free: 5.234 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/0.3363, allocations: 361.7 kB / 492.5 MB, free: 4.879 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006721/0.3431, allocations: 4.883 MB / 497.4 MB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/0.3445, allocations: 1.63 MB / 499 MB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001042/0.3455, allocations: 295.8 kB / 499.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.3458, allocations: 99.36 kB / 499.4 MB, free: 13.86 MB / 378.7 MB Notification: Performance of SimCode: time 6.42e-07/0.3458, allocations: 4 kB / 499.4 MB, free: 13.86 MB / 378.7 MB Notification: Performance of Templates: time 0.2241/0.5699, allocations: 21.07 MB / 0.5083 GB, free: 88.85 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches