Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001518/0.001518, allocations: 195.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 229.5 MB / 247.7 MB, free: 6.312 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000794/0.0007941, allocations: 94.05 kB / 299.8 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001971/0.0001971, allocations: 8 kB / 360.7 MB, free: 8.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1807, allocations: 51.41 MB / 412.1 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.009438/0.1902, allocations: 12.6 MB / 424.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007252/0.1975, allocations: 7.177 MB / 431.8 MB, free: 5.535 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.1988, allocations: 75.69 kB / 431.9 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.2006, allocations: 0.9211 MB / 432.8 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002517/0.2031, allocations: 1.568 MB / 434.4 MB, free: 2.887 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.2047, allocations: 1.311 MB / 435.7 MB, free: 1.484 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00394/0.2087, allocations: 4.737 MB / 440.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002823/0.2115, allocations: 2.758 MB / 443.2 MB, free: 9.898 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.213, allocations: 1.431 MB / 444.6 MB, free: 8.461 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001855/0.2149, allocations: 1.917 MB / 446.6 MB, free: 6.535 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003427/0.2152, allocations: 220 kB / 446.8 MB, free: 6.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.2164, allocations: 0.6088 MB / 447.4 MB, free: 5.711 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007483/0.2172, allocations: 0.9417 MB / 448.3 MB, free: 4.766 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001626/0.2188, allocations: 1.972 MB / 450.3 MB, free: 2.777 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005207/0.224, allocations: 6.933 MB / 457.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.224, allocations: 0 / 457.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2241, allocations: 0 / 457.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.477e-05/0.2241, allocations: 4 kB / 457.2 MB, free: 11.82 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.008236/0.2324, allocations: 4.264 MB / 461.5 MB, free: 7.473 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2324, allocations: 8.031 kB / 461.5 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004108/0.2365, allocations: 0.9247 MB / 462.4 MB, free: 6.535 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00388/0.2404, allocations: 2.686 MB / 465.1 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.2406, allocations: 242.7 kB / 465.4 MB, free: 3.535 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004657/0.2411, allocations: 343.9 kB / 465.7 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007082/0.2482, allocations: 4.535 MB / 470.2 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.678e-05/0.2483, allocations: 0 / 470.2 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003102/0.2486, allocations: 140 kB / 470.4 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001436/0.2487, allocations: 150.7 kB / 470.5 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006199/0.2549, allocations: 3.918 MB / 474.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01989/0.2748, allocations: 14.26 MB / 488.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006985/0.2819, allocations: 6.975 MB / 495.7 MB, free: 4.066 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002667/0.2846, allocations: 1.704 MB / 497.4 MB, free: 2.367 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006742/0.2913, allocations: 4.506 MB / 0.4901 GB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.2914, allocations: 55.86 kB / 0.4902 GB, free: 13.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=165): time 3.567e-06/0.2914, allocations: 0 / 0.4902 GB, free: 13.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=185): time 0.01586/0.3073, allocations: 7.846 MB / 0.4978 GB, free: 5.668 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.3073, allocations: 73.41 kB / 0.4979 GB, free: 5.586 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003337/0.3107, allocations: 2.629 MB / 0.5005 GB, free: 2.934 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.3108, allocations: 57.7 kB / 0.5005 GB, free: 2.871 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.3119, allocations: 1.623 MB / 0.5021 GB, free: 1.227 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004541/0.3123, allocations: 0.6199 MB / 0.5027 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.3124, allocations: 40 kB / 0.5028 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3126, allocations: 381.8 kB / 0.5031 GB, free: 184 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1614/0.4741, allocations: 0.9136 MB / 0.504 GB, free: 87.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/0.4759, allocations: 1.319 MB / 0.5053 GB, free: 87.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003068/0.479, allocations: 2.365 MB / 0.5076 GB, free: 85.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.479, allocations: 2.75 kB / 0.5076 GB, free: 85.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.004863/0.4839, allocations: 3.085 MB / 0.5106 GB, free: 84.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.4839, allocations: 11.03 kB / 0.5106 GB, free: 84.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.4839, allocations: 11.84 kB / 0.5106 GB, free: 84.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/0.4853, allocations: 0.5502 MB / 0.5112 GB, free: 84.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.487, allocations: 433.3 kB / 0.5116 GB, free: 84.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007003/0.494, allocations: 6.954 MB / 0.5184 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.4953, allocations: 97.91 kB / 0.5185 GB, free: 79.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.4955, allocations: 73.19 kB / 0.5186 GB, free: 79.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (198): * Single equations (assignments): 194 * 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%), (8,33,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001464/0.4969, allocations: 1.169 MB / 0.5197 GB, free: 78.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000314/0.4973, allocations: 254.8 kB / 0.5199 GB, free: 78.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004185/0.5015, allocations: 2.9 MB / 0.5228 GB, free: 77.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.229e-05/0.5015, allocations: 19.41 kB / 0.5228 GB, free: 77.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.5015, allocations: 6.562 kB / 0.5228 GB, free: 77.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.5015, allocations: 14.72 kB / 0.5228 GB, free: 77.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007556/0.5091, allocations: 6.366 MB / 0.529 GB, free: 72.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.5091, allocations: 10.92 kB / 0.529 GB, free: 72.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/0.5103, allocations: 283.8 kB / 0.5293 GB, free: 72.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/0.5116, allocations: 0.6091 MB / 0.5299 GB, free: 71.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/0.5117, allocations: 51.77 kB / 0.5299 GB, free: 71.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007977/0.5197, allocations: 10.48 MB / 0.5402 GB, free: 60.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5197, allocations: 7.891 kB / 0.5402 GB, free: 60.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00546/0.5252, allocations: 4.184 MB / 0.5443 GB, free: 56.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00083/0.526, allocations: 0.5446 MB / 0.5448 GB, free: 55.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002857/0.5263, allocations: 41.55 kB / 0.5448 GB, free: 55.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.5273, allocations: 91.94 kB / 0.5449 GB, free: 55.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003171/0.5276, allocations: 137.8 kB / 0.5451 GB, free: 55.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.5278, allocations: 55.98 kB / 0.5451 GB, free: 55.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002049/0.5298, allocations: 1.839 MB / 0.5469 GB, free: 53.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.5298, allocations: 0 / 0.5469 GB, free: 53.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001933/0.5318, allocations: 0.7043 MB / 0.5476 GB, free: 52.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,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 (126): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 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,12,100.0%), (2,25,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009467/0.5327, allocations: 0.4972 MB / 0.5481 GB, free: 52.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003922/0.5367, allocations: 2.844 MB / 0.5509 GB, free: 49.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5367, allocations: 8.062 kB / 0.5509 GB, free: 49.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002298/0.539, allocations: 1.927 MB / 0.5528 GB, free: 47.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/0.5414, allocations: 0.5659 MB / 0.5533 GB, free: 47.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008817/0.5502, allocations: 8.792 MB / 0.5619 GB, free: 38.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001702/0.552, allocations: 2.64 MB / 0.5645 GB, free: 35.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001502/0.5535, allocations: 0.5008 MB / 0.565 GB, free: 35.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004175/0.5539, allocations: 175.3 kB / 0.5651 GB, free: 35.01 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.5539, allocations: 0 / 0.5651 GB, free: 35.01 MB / 378.7 MB Notification: Performance of Templates: time 0.04936/0.6033, allocations: 35.59 MB / 0.5999 GB, free: 15.78 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches