Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001606/0.001606, allocations: 178.2 kB / 17.36 MB, free: 4.195 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.311/1.311, allocations: 205.6 MB / 223.7 MB, free: 8.938 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.0007484/0.0007483, allocations: 95.36 kB / 272.1 MB, free: 8.113 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002416/0.0002417, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2116, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.00937/0.221, allocations: 11.28 MB / 387.9 MB, free: 36.78 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007023/0.228, allocations: 5.357 MB / 393.3 MB, free: 31.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002041/0.2301, allocations: 67.69 kB / 393.3 MB, free: 31.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00262/0.2328, allocations: 0.8445 MB / 394.2 MB, free: 30.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003343/0.2361, allocations: 1.511 MB / 395.7 MB, free: 28.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.2377, allocations: 1.156 MB / 396.8 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003381/0.2411, allocations: 4.179 MB / 401 MB, free: 23.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002207/0.2433, allocations: 2.619 MB / 403.6 MB, free: 20.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.2446, allocations: 1.284 MB / 404.9 MB, free: 19.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.2459, allocations: 1.653 MB / 406.6 MB, free: 17.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002781/0.2462, allocations: 204 kB / 406.8 MB, free: 17.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008632/0.2471, allocations: 407.7 kB / 407.2 MB, free: 17.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004596/0.2476, allocations: 0.7471 MB / 407.9 MB, free: 16.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.2487, allocations: 1.712 MB / 409.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003707/0.2525, allocations: 6.159 MB / 415.8 MB, free: 8.633 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2525, allocations: 3.938 kB / 415.8 MB, free: 8.629 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2525, allocations: 0 / 415.8 MB, free: 8.629 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.863e-05/0.2526, allocations: 0 / 415.8 MB, free: 8.629 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.007206/0.2598, allocations: 3.645 MB / 419.4 MB, free: 4.914 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2599, allocations: 8.031 kB / 419.4 MB, free: 4.906 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003627/0.2635, allocations: 0.8125 MB / 420.2 MB, free: 4.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002959/0.2665, allocations: 2.177 MB / 422.4 MB, free: 1.855 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.2666, allocations: 230.6 kB / 422.7 MB, free: 1.629 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003774/0.267, allocations: 315.8 kB / 423 MB, free: 1.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006892/0.2739, allocations: 4.203 MB / 427.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.247e-05/0.274, allocations: 7.922 kB / 427.2 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002915/0.2743, allocations: 128 kB / 427.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001476/0.2744, allocations: 146.3 kB / 427.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006789/0.2812, allocations: 3.593 MB / 431 MB, free: 9.188 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01982/0.3011, allocations: 13.26 MB / 444.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006472/0.3076, allocations: 6.894 MB / 451.2 MB, free: 3.801 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002197/0.3098, allocations: 1.383 MB / 452.6 MB, free: 2.422 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006162/0.316, allocations: 3.738 MB / 456.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.3161, allocations: 47.55 kB / 456.3 MB, free: 14.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=119): time 4.458e-06/0.3161, allocations: 0 / 456.3 MB, free: 14.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.01013/0.3262, allocations: 5.411 MB / 461.8 MB, free: 8.922 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.3263, allocations: 64.41 kB / 461.8 MB, free: 8.844 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002535/0.3289, allocations: 1.69 MB / 463.5 MB, free: 7.148 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.144e-05/0.329, allocations: 53.64 kB / 463.6 MB, free: 7.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.33, allocations: 1.399 MB / 465 MB, free: 5.672 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000339/0.3304, allocations: 433.8 kB / 465.4 MB, free: 5.242 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/0.3304, allocations: 28 kB / 465.4 MB, free: 5.215 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3306, allocations: 373.8 kB / 465.8 MB, free: 4.844 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.3317, allocations: 0.6442 MB / 466.4 MB, free: 4.203 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.333, allocations: 1.122 MB / 467.5 MB, free: 2.875 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002507/0.3356, allocations: 1.875 MB / 469.4 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.3356, allocations: 4 kB / 469.4 MB, free: 0.793 MB / 346.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003761/0.3393, allocations: 2.323 MB / 471.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.3394, allocations: 14.81 kB / 471.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.3394, allocations: 16 kB / 471.8 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007009/0.3401, allocations: 271.5 kB / 472 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.3414, allocations: 359.4 kB / 472.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005029/0.3465, allocations: 5.698 MB / 478.1 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.3478, allocations: 84.05 kB / 478.2 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.3479, allocations: 71.94 kB / 478.2 MB, free: 7.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (180): * Single equations (assignments): 176 * 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 {(1,1,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001708/0.3497, allocations: 0.9892 MB / 479.2 MB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/0.35, allocations: 181.8 kB / 479.4 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003472/0.3534, allocations: 2.135 MB / 481.5 MB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.3535, allocations: 12 kB / 481.6 MB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.3535, allocations: 4 kB / 481.6 MB, free: 4.129 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.3535, allocations: 11.98 kB / 481.6 MB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007176/0.3607, allocations: 4.827 MB / 486.4 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.3607, allocations: 4 kB / 486.4 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000723/0.3615, allocations: 172 kB / 486.6 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.3627, allocations: 448 kB / 487 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.977e-05/0.3628, allocations: 39.98 kB / 487 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009731/0.3725, allocations: 10.07 MB / 497.1 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3726, allocations: 4.031 kB / 497.1 MB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004813/0.3774, allocations: 3.004 MB / 0.4884 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008431/0.3783, allocations: 410.7 kB / 0.4888 GB, free: 224 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/0.3785, allocations: 35.98 kB / 0.4888 GB, free: 188 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007678/0.3793, allocations: 79.88 kB / 0.4889 GB, free: 108 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/0.3796, allocations: 96.73 kB / 0.489 GB, free: 12 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.595e-05/0.3796, allocations: 43.98 kB / 0.489 GB, free: 15.97 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001716/0.3814, allocations: 1.162 MB / 0.4902 GB, free: 14.81 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3814, allocations: 0 / 0.4902 GB, free: 14.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002044/0.3834, allocations: 0.543 MB / 0.4907 GB, free: 14.27 MB / 394.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.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003437/0.3838, allocations: 155 kB / 0.4909 GB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003329/0.3871, allocations: 2.081 MB / 0.4929 GB, free: 11.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3872, allocations: 4 kB / 0.4929 GB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002314/0.3895, allocations: 1.523 MB / 0.4944 GB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002804/0.3923, allocations: 0.495 MB / 0.4949 GB, free: 9.879 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.4025, allocations: 6.966 MB / 0.5017 GB, free: 2.859 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001936/0.4045, allocations: 2.285 MB / 0.5039 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001437/0.4059, allocations: 387.8 kB / 0.5043 GB, free: 172 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/0.4062, allocations: 119.4 kB / 0.5044 GB, free: 52 kB / 394.7 MB Notification: Performance of SimCode: time 8.82e-07/0.4062, allocations: 0 / 0.5044 GB, free: 52 kB / 394.7 MB Notification: Performance of Templates: time 0.1884/0.5947, allocations: 26.14 MB / 0.5299 GB, free: 104.2 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Inverter/AIMC_Inverter.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches