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.002009/0.002009, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002521/0.002521, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.688/1.688, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001597/0.001597, allocations: 47.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4198, allocations: 53.36 MB / 432.4 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01905/0.4388, allocations: 11.79 MB / 444.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.4503, allocations: 4.264 MB / 448.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003835/0.4541, allocations: 95.44 kB / 448.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004336/0.4584, allocations: 0.9785 MB / 449.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005755/0.4642, allocations: 1.289 MB / 450.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003354/0.4675, allocations: 0.868 MB / 451.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007173/0.4747, allocations: 3.944 MB / 455.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003409/0.4781, allocations: 1.785 MB / 457.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004209/0.4823, allocations: 1.904 MB / 459.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005202/0.4875, allocations: 2.211 MB / 461.5 MB, free: 9.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001955/0.4895, allocations: 0.5038 MB / 462 MB, free: 8.906 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00306/0.4925, allocations: 0.7107 MB / 462.7 MB, free: 8.195 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001655/0.4942, allocations: 1.11 MB / 463.8 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003401/0.4976, allocations: 1.634 MB / 465.4 MB, free: 5.441 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01293/0.5105, allocations: 6.684 MB / 472.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.5105, allocations: 0 / 472.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.5105, allocations: 0 / 472.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002401/0.5108, allocations: 0 / 472.1 MB, free: 14.73 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.02127/0.5321, allocations: 4.338 MB / 476.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.5321, allocations: 8.031 kB / 476.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009128/0.5412, allocations: 0.8027 MB / 477.3 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01007/0.5513, allocations: 2.348 MB / 479.6 MB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000447/0.5518, allocations: 238.2 kB / 479.8 MB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001821/0.5536, allocations: 308 kB / 480.1 MB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0173/0.5709, allocations: 4.389 MB / 484.5 MB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/0.571, allocations: 0 / 484.5 MB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006449/0.5716, allocations: 124 kB / 484.7 MB, free: 2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003041/0.5719, allocations: 146.3 kB / 484.8 MB, free: 1.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01464/0.5866, allocations: 3.616 MB / 488.4 MB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04246/0.629, allocations: 11.19 MB / 499.6 MB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/0.6399, allocations: 2.633 MB / 0.4905 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00624/0.6461, allocations: 1.508 MB / 0.4919 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01419/0.6603, allocations: 3.341 MB / 0.4952 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.96e-05/0.6604, allocations: 47.56 kB / 0.4953 GB, free: 11.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 9.568e-06/0.6604, allocations: 0 / 0.4953 GB, free: 11.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.02284/0.6833, allocations: 4.967 MB / 0.5001 GB, free: 6.281 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/0.6833, allocations: 64.41 kB / 0.5002 GB, free: 6.203 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005113/0.6885, allocations: 1.525 MB / 0.5017 GB, free: 4.668 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003787/0.6888, allocations: 53.7 kB / 0.5017 GB, free: 4.609 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002053/0.6909, allocations: 1.457 MB / 0.5031 GB, free: 3.141 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009976/0.6919, allocations: 456.1 kB / 0.5036 GB, free: 2.691 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001256/0.6931, allocations: 291.5 kB / 0.5038 GB, free: 2.402 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.6933, allocations: 301.1 kB / 0.5041 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002315/0.6956, allocations: 0.6559 MB / 0.5048 GB, free: 1.449 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002879/0.6985, allocations: 1.15 MB / 0.5059 GB, free: 96 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005125/0.7036, allocations: 1.898 MB / 0.5077 GB, free: 14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.663e-05/0.7037, allocations: 4 kB / 0.5077 GB, free: 13.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.008497/0.7122, allocations: 2.308 MB / 0.51 GB, free: 11.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.388e-05/0.7122, allocations: 12 kB / 0.51 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.932e-05/0.7123, allocations: 15.94 kB / 0.51 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/0.7139, allocations: 323.4 kB / 0.5103 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/0.7166, allocations: 355.4 kB / 0.5107 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/0.7275, allocations: 6.188 MB / 0.5167 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/0.73, allocations: 84.16 kB / 0.5168 GB, free: 4.383 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004641/0.7305, allocations: 67.98 kB / 0.5169 GB, free: 4.316 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.003304/0.7338, allocations: 1.001 MB / 0.5178 GB, free: 3.305 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008296/0.7346, allocations: 174.9 kB / 0.518 GB, free: 3.133 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006944/0.7415, allocations: 2.018 MB / 0.52 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/0.7416, allocations: 12 kB / 0.52 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.348e-05/0.7416, allocations: 8 kB / 0.52 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.428e-05/0.7416, allocations: 11.91 kB / 0.52 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01405/0.7557, allocations: 4.089 MB / 0.524 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.7557, allocations: 4.188 kB / 0.524 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/0.7572, allocations: 163.8 kB / 0.5242 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002597/0.7598, allocations: 498.4 kB / 0.5246 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002007/0.76, allocations: 35.98 kB / 0.5247 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01961/0.7796, allocations: 10.72 MB / 0.5351 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.7796, allocations: 0 / 0.5351 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4963/1.276, allocations: 2.926 MB / 0.538 GB, free: 98.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/1.277, allocations: 324 kB / 0.5383 GB, free: 98.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002838/1.277, allocations: 32.59 kB / 0.5383 GB, free: 98.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009139/1.278, allocations: 65.75 kB / 0.5384 GB, free: 98.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003742/1.279, allocations: 108 kB / 0.5385 GB, free: 98.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/1.279, allocations: 41.61 kB / 0.5385 GB, free: 98.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002018/1.281, allocations: 1.022 MB / 0.5395 GB, free: 98.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/1.281, allocations: 2.469 kB / 0.5395 GB, free: 98.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003016/1.284, allocations: 0.5423 MB / 0.5401 GB, free: 98.45 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.0004221/1.284, allocations: 161.9 kB / 0.5402 GB, free: 98.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003608/1.288, allocations: 1.987 MB / 0.5422 GB, free: 97.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.288, allocations: 0 / 0.5422 GB, free: 97.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00217/1.29, allocations: 1.503 MB / 0.5436 GB, free: 96.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/1.292, allocations: 424.9 kB / 0.544 GB, free: 96.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009047/1.301, allocations: 5.566 MB / 0.5495 GB, free: 93.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/1.303, allocations: 1.732 MB / 0.5512 GB, free: 93.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001283/1.304, allocations: 354.3 kB / 0.5515 GB, free: 92.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/1.304, allocations: 122.9 kB / 0.5516 GB, free: 92.79 MB / 446.1 MB Notification: Performance of SimCode: time 1.303e-06/1.304, allocations: 0 / 0.5516 GB, free: 92.79 MB / 446.1 MB Notification: Performance of Templates: time 0.04778/1.352, 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 cvode -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: 7.437064375000773]