Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002201/0.002201, allocations: 209.2 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 47.92 kB / 379 MB, free: 2.527 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2123, allocations: 53.38 MB / 432.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01551/0.2278, allocations: 11.78 MB / 444.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007513/0.2353, allocations: 4.262 MB / 448.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008848/0.2362, allocations: 99.38 kB / 448.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002172/0.2384, allocations: 0.9785 MB / 449.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002801/0.2412, allocations: 1.282 MB / 450.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.243, allocations: 0.8714 MB / 451.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004189/0.2472, allocations: 3.936 MB / 455.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002492/0.2497, allocations: 1.788 MB / 457.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002384/0.2521, allocations: 1.897 MB / 459.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002864/0.2549, allocations: 2.215 MB / 461.5 MB, free: 9.422 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006611/0.2556, allocations: 0.4961 MB / 462 MB, free: 8.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.2569, allocations: 0.7185 MB / 462.7 MB, free: 8.207 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00103/0.2579, allocations: 1.106 MB / 463.8 MB, free: 7.098 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001853/0.2598, allocations: 1.642 MB / 465.4 MB, free: 5.449 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007127/0.2669, allocations: 6.681 MB / 472.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2669, allocations: 4 kB / 472.1 MB, free: 14.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2669, allocations: 0 / 472.1 MB, free: 14.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.91e-05/0.267, allocations: 0 / 472.1 MB, free: 14.74 MB / 382.1 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.01032/0.2773, allocations: 4.334 MB / 476.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2774, allocations: 12.03 kB / 476.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004443/0.2818, allocations: 0.8066 MB / 477.3 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004618/0.2864, allocations: 2.333 MB / 479.6 MB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.2866, allocations: 242.2 kB / 479.8 MB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005172/0.2871, allocations: 311.9 kB / 480.1 MB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007601/0.2947, allocations: 4.381 MB / 484.5 MB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.11e-05/0.2948, allocations: 7.984 kB / 484.5 MB, free: 2.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003156/0.2951, allocations: 124 kB / 484.6 MB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001679/0.2953, allocations: 150.3 kB / 484.8 MB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006416/0.3017, allocations: 3.605 MB / 488.4 MB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01897/0.3207, allocations: 11.19 MB / 499.6 MB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005569/0.3263, allocations: 2.656 MB / 0.4905 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003052/0.3293, allocations: 1.504 MB / 0.4919 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006609/0.3359, allocations: 3.333 MB / 0.4952 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.336, allocations: 47.5 kB / 0.4952 GB, free: 11.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 2.975e-06/0.336, allocations: 8 kB / 0.4952 GB, free: 11.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01114/0.3471, allocations: 4.963 MB / 0.5001 GB, free: 6.285 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.3472, allocations: 68.34 kB / 0.5002 GB, free: 6.203 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/0.3494, allocations: 1.533 MB / 0.5017 GB, free: 4.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.189e-05/0.3494, allocations: 45.7 kB / 0.5017 GB, free: 4.609 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001128/0.3506, allocations: 1.457 MB / 0.5031 GB, free: 3.141 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004015/0.351, allocations: 456.1 kB / 0.5036 GB, free: 2.691 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000484/0.3515, allocations: 283.5 kB / 0.5038 GB, free: 2.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3516, allocations: 305.1 kB / 0.5041 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.3528, allocations: 0.6559 MB / 0.5048 GB, free: 1.453 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/0.3544, allocations: 1.154 MB / 0.5059 GB, free: 96 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00292/0.3573, allocations: 1.898 MB / 0.5077 GB, free: 14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.3573, allocations: 4 kB / 0.5077 GB, free: 13.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004117/0.3615, allocations: 2.316 MB / 0.51 GB, free: 11.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.3615, allocations: 8 kB / 0.51 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/0.3615, allocations: 23.88 kB / 0.51 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008511/0.3624, allocations: 317.6 kB / 0.5103 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.3638, allocations: 347.4 kB / 0.5107 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006749/0.3705, allocations: 6.191 MB / 0.5167 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.3715, allocations: 71.91 kB / 0.5168 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.3717, allocations: 68 kB / 0.5169 GB, free: 4.328 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (177): * Single equations (assignments): 173 * 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,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001548/0.3732, allocations: 1.009 MB / 0.5178 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002682/0.3735, allocations: 174.8 kB / 0.518 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004071/0.3776, allocations: 2.018 MB / 0.52 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.3776, allocations: 12 kB / 0.52 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.3776, allocations: 4 kB / 0.52 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.3776, allocations: 15.91 kB / 0.52 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007377/0.385, allocations: 4.081 MB / 0.524 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.385, allocations: 4 kB / 0.524 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000827/0.3858, allocations: 171.7 kB / 0.5242 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001352/0.3872, allocations: 0.4962 MB / 0.5246 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.537e-05/0.3873, allocations: 35.98 kB / 0.5247 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01171/0.399, allocations: 10.71 MB / 0.5351 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.399, allocations: 4.031 kB / 0.5351 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1748/0.5738, allocations: 2.931 MB / 0.538 GB, free: 98.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008226/0.5746, allocations: 325.9 kB / 0.5383 GB, free: 98.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/0.5748, allocations: 33.98 kB / 0.5383 GB, free: 98.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008521/0.5757, allocations: 63.59 kB / 0.5384 GB, free: 98.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002387/0.5759, allocations: 107 kB / 0.5385 GB, free: 98.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.367e-05/0.576, allocations: 40.62 kB / 0.5385 GB, free: 98.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001315/0.5773, allocations: 1.028 MB / 0.5396 GB, free: 98.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5773, allocations: 0 / 0.5396 GB, free: 98.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001743/0.579, allocations: 0.5388 MB / 0.5401 GB, free: 98.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (83): * Single equations (assignments): 78 * 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,8,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,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.0002553/0.5793, allocations: 165.8 kB / 0.5402 GB, free: 98.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002819/0.5821, allocations: 1.984 MB / 0.5422 GB, free: 97.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5821, allocations: 3.844 kB / 0.5422 GB, free: 97.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001938/0.5841, allocations: 1.501 MB / 0.5436 GB, free: 96.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.5857, allocations: 419.8 kB / 0.544 GB, free: 96.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006732/0.5925, allocations: 5.565 MB / 0.5495 GB, free: 93.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/0.5938, allocations: 1.729 MB / 0.5512 GB, free: 93.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009038/0.5948, allocations: 359.3 kB / 0.5515 GB, free: 92.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/0.595, allocations: 115.1 kB / 0.5516 GB, free: 92.77 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.595, allocations: 0 / 0.5516 GB, free: 92.77 MB / 446.1 MB Notification: Performance of Templates: time 0.037/0.632, allocations: 29.92 MB / 0.5808 GB, free: 64.6 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.193526199000189]