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.001668/0.001668, allocations: 117.4 kB / 18.45 MB, free: 4.562 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.002176/0.002176, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.504/1.504, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.00147/0.00147, allocations: 55.91 kB / 374.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.114, allocations: 53.33 MB / 427.5 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.2443/0.3583, allocations: 13.5 MB / 441 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00926/0.3676, allocations: 4.518 MB / 445.5 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00317/0.3708, allocations: 97.41 kB / 445.6 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003794/0.3746, allocations: 1.041 MB / 446.7 MB, free: 388 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005733/0.3803, allocations: 1.286 MB / 447.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003288/0.3836, allocations: 0.8858 MB / 448.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007413/0.391, allocations: 3.928 MB / 452.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005271/0.3963, allocations: 2.255 MB / 455 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004548/0.4008, allocations: 1.891 MB / 456.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005391/0.4062, allocations: 2.212 MB / 459.1 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00211/0.4083, allocations: 0.4987 MB / 459.6 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003427/0.4117, allocations: 0.7271 MB / 460.3 MB, free: 9.781 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002526/0.4143, allocations: 1.113 MB / 461.5 MB, free: 9.055 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005921/0.4202, allocations: 2.084 MB / 463.5 MB, free: 7.648 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01085/0.431, allocations: 6.657 MB / 470.2 MB, free: 2.898 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.431, allocations: 1.188 kB / 470.2 MB, free: 2.898 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4311, allocations: 0 / 470.2 MB, free: 2.898 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000219/0.4313, allocations: 0 / 470.2 MB, free: 2.898 MB / 366.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.01563/0.4469, allocations: 4.413 MB / 474.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.4469, allocations: 8.812 kB / 474.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004745/0.4517, allocations: 0.8049 MB / 475.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00523/0.4569, allocations: 2.427 MB / 477.9 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002852/0.4572, allocations: 236.9 kB / 478.1 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00064/0.4578, allocations: 306.9 kB / 478.4 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009081/0.4669, allocations: 4.237 MB / 482.6 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.659e-05/0.467, allocations: 4 kB / 482.6 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003388/0.4673, allocations: 124 kB / 482.8 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001796/0.4675, allocations: 150.3 kB / 482.9 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007428/0.4749, allocations: 3.612 MB / 486.5 MB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02613/0.5011, allocations: 13.15 MB / 499.7 MB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008133/0.5092, allocations: 7.034 MB / 0.4948 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003343/0.5125, allocations: 1.516 MB / 0.4963 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008202/0.5207, allocations: 4.222 MB / 0.5004 GB, free: 9.996 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.369e-05/0.5208, allocations: 47.56 kB / 0.5005 GB, free: 9.938 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.787e-06/0.5208, allocations: 0 / 0.5005 GB, free: 9.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01335/0.5342, allocations: 5.589 MB / 0.5059 GB, free: 4.156 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.5342, allocations: 64.41 kB / 0.506 GB, free: 4.082 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003111/0.5373, allocations: 1.726 MB / 0.5077 GB, free: 2.352 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002463/0.5376, allocations: 45.7 kB / 0.5077 GB, free: 2.301 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001277/0.5389, allocations: 1.45 MB / 0.5091 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005529/0.5394, allocations: 456.1 kB / 0.5096 GB, free: 396 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004938/0.5399, allocations: 287.5 kB / 0.5098 GB, free: 104 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.54, allocations: 309.1 kB / 0.5101 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.5413, allocations: 0.652 MB / 0.5108 GB, free: 15.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/0.5429, allocations: 1.129 MB / 0.5119 GB, free: 13.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002893/0.5458, allocations: 1.898 MB / 0.5137 GB, free: 11.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.5458, allocations: 4.625 kB / 0.5137 GB, free: 11.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004499/0.5503, allocations: 2.41 MB / 0.5161 GB, free: 9.266 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.5503, allocations: 8 kB / 0.5161 GB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.751e-05/0.5503, allocations: 16.28 kB / 0.5161 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008969/0.5512, allocations: 323.2 kB / 0.5164 GB, free: 8.914 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.5526, allocations: 347.4 kB / 0.5168 GB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007221/0.5598, allocations: 6.626 MB / 0.5232 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.5616, allocations: 79.84 kB / 0.5233 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/0.5618, allocations: 67.98 kB / 0.5234 GB, free: 1.383 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.002325/0.5641, allocations: 1.001 MB / 0.5243 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004686/0.5646, allocations: 190.8 kB / 0.5245 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004453/0.569, allocations: 2.198 MB / 0.5267 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/0.569, allocations: 16 kB / 0.5267 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-05/0.569, allocations: 7.938 kB / 0.5267 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.5691, allocations: 7.969 kB / 0.5267 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008905/0.578, allocations: 4.929 MB / 0.5315 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.578, allocations: 8 kB / 0.5315 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007832/0.5788, allocations: 167.7 kB / 0.5317 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/0.5801, allocations: 496 kB / 0.5322 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.5802, allocations: 39.97 kB / 0.5322 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01258/0.5928, allocations: 11.48 MB / 0.5434 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.5928, allocations: 4.031 kB / 0.5434 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005913/0.5987, allocations: 3.097 MB / 0.5464 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/0.5999, allocations: 423.7 kB / 0.5468 GB, free: 8.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002731/0.6002, allocations: 31.98 kB / 0.5469 GB, free: 8.289 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009268/0.6011, allocations: 60.33 kB / 0.5469 GB, free: 8.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003151/0.6014, allocations: 104.7 kB / 0.547 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.515e-05/0.6015, allocations: 39.98 kB / 0.5471 GB, free: 8.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002067/0.6036, allocations: 1.178 MB / 0.5482 GB, free: 6.918 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6036, allocations: 3.938 kB / 0.5482 GB, free: 6.914 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002448/0.606, allocations: 0.5508 MB / 0.5488 GB, free: 6.363 MB / 462.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.0003926/0.6064, allocations: 157.3 kB / 0.5489 GB, free: 6.203 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003963/0.6104, allocations: 2.065 MB / 0.5509 GB, free: 4.078 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/0.6104, allocations: 8.125 kB / 0.5509 GB, free: 4.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002829/0.6132, allocations: 1.491 MB / 0.5524 GB, free: 2.516 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/0.6162, allocations: 0.5215 MB / 0.5529 GB, free: 2.004 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.6274, allocations: 5.55 MB / 0.5583 GB, free: 12.39 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002395/0.6298, allocations: 2.232 MB / 0.5605 GB, free: 10.13 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006148/0.6304, allocations: 139.4 kB / 0.5606 GB, free: 9.992 MB / 478.1 MB Notification: Performance of SimCode: time 1.523e-06/0.6304, allocations: 4 kB / 0.5606 GB, free: 9.988 MB / 478.1 MB Notification: Performance of Templates: time 0.3515/0.9819, allocations: 110.4 MB / 0.6684 GB, free: 137.6 MB / 0.5137 GB " [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 -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: 14.136997021996649]