Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001139/0.001139, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001025/0.001025, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9098/0.9098, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.[0-9,]+.|smrE.idq_rr.[0-9,]+.|smrE.idq_sr.[0-9,]+.|smrM.is.[0-9,]+.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.[0-9,]+.|smrE.idq_rr.[0-9,]+.|smrE.idq_sr.[0-9,]+.|smrM.is.[0-9,]+.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.699e-05, allocations: 5.125 kB / 272.9 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.145/0.1451, allocations: 20.71 MB / 293.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.1568, allocations: 6.114 MB / 299.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003528/0.1604, allocations: 171.3 kB / 299.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003429/0.1638, allocations: 1.384 MB / 301.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005974/0.1698, allocations: 2.044 MB / 303.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.1727, allocations: 1.266 MB / 304.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007081/0.1797, allocations: 6.435 MB / 311.1 MB, free: 8.586 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004437/0.1842, allocations: 2.956 MB / 314 MB, free: 6.859 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006417/0.1906, allocations: 4.682 MB / 318.7 MB, free: 4.055 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003936/0.1945, allocations: 3.059 MB / 321.8 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001442/0.196, allocations: 0.7656 MB / 322.5 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002621/0.1986, allocations: 1.058 MB / 323.6 MB, free: 15.74 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001759/0.2004, allocations: 1.977 MB / 325.6 MB, free: 13.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003907/0.2043, allocations: 2.276 MB / 327.8 MB, free: 11.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006715/0.211, allocations: 5.405 MB / 333.2 MB, free: 6.152 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.211, allocations: 4 kB / 333.2 MB, free: 6.148 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.211, allocations: 0 / 333.2 MB, free: 6.148 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002508/0.2112, allocations: 0 / 333.2 MB, free: 6.148 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1347 * Number of variables: 1347 Notification: Performance of Generate backend data structure: time 0.009785/0.221, allocations: 6.868 MB / 340.1 MB, free: 15.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.2211, allocations: 11.98 kB / 340.1 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003106/0.2242, allocations: 1.59 MB / 341.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004499/0.2287, allocations: 3.482 MB / 345.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/0.2289, allocations: 389.4 kB / 345.6 MB, free: 9.652 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005467/0.2294, allocations: 0.5042 MB / 346.1 MB, free: 9.148 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006348/0.2358, allocations: 4.107 MB / 350.2 MB, free: 4.906 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.702e-05/0.2359, allocations: 11.95 kB / 350.2 MB, free: 4.895 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003111/0.2362, allocations: 219.9 kB / 350.4 MB, free: 4.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/0.2363, allocations: 234.2 kB / 350.6 MB, free: 4.449 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003789/0.2401, allocations: 1.941 MB / 352.6 MB, free: 2.496 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01883/0.259, allocations: 16.67 MB / 369.3 MB, free: 1.363 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00358/0.2625, allocations: 2.786 MB / 372 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.264, allocations: 1.124 MB / 373.2 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005312/0.2694, allocations: 3.587 MB / 376.8 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.2694, allocations: 63.38 kB / 376.8 MB, free: 9.957 MB / 330.7 MB Notification: Performance of pre-optimization done (n=204): time 2.956e-06/0.2694, allocations: 0 / 376.8 MB, free: 9.957 MB / 330.7 MB Notification: Performance of matching and sorting (n=221): time 0.009252/0.2787, allocations: 5.688 MB / 382.5 MB, free: 4.234 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.2787, allocations: 77.41 kB / 382.6 MB, free: 4.148 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0024/0.2811, allocations: 2.257 MB / 384.8 MB, free: 1.852 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.2812, allocations: 61.7 kB / 384.9 MB, free: 1.785 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001392/0.2826, allocations: 2.541 MB / 387.4 MB, free: 15.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006522/0.2832, allocations: 0.8214 MB / 388.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007269/0.284, allocations: 0.5324 MB / 388.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.2841, allocations: 476.8 kB / 389.3 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009658/0.285, allocations: 433.5 kB / 389.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/0.2867, allocations: 1.759 MB / 391.4 MB, free: 10.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002841/0.2895, allocations: 2.4 MB / 393.8 MB, free: 7.684 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.847e-05/0.2896, allocations: 8 kB / 393.8 MB, free: 7.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=372) (initialization): time 0.004447/0.294, allocations: 2.622 MB / 396.5 MB, free: 5.016 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.294, allocations: 16.53 kB / 396.5 MB, free: 5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.854e-05/0.2941, allocations: 31.94 kB / 396.5 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008827/0.295, allocations: 368.1 kB / 396.9 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/0.2967, allocations: 0.663 MB / 397.5 MB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006364/0.3031, allocations: 10.49 MB / 408 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.305, allocations: 155.8 kB / 408.2 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000207/0.3052, allocations: 128 kB / 408.3 MB, free: 8.551 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * 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 (344): * Single equations (assignments): 337 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 5 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001278/0.3064, allocations: 348.1 kB / 408.6 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005357/0.307, allocations: 378 kB / 409 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003598/0.3106, allocations: 2.068 MB / 411.1 MB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.3106, allocations: 24 kB / 411.1 MB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-05/0.3106, allocations: 11.94 kB / 411.1 MB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/0.3106, allocations: 11.95 kB / 411.1 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009186/0.3198, allocations: 5.546 MB / 416.7 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.3198, allocations: 4.469 kB / 416.7 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.321, allocations: 359.5 kB / 417 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/0.3224, allocations: 0.5406 MB / 417.6 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/0.3225, allocations: 59.97 kB / 417.6 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1315/0.454, allocations: 17.11 MB / 434.7 MB, free: 92.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.454, allocations: 7.062 kB / 434.7 MB, free: 92.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004529/0.4585, allocations: 2.835 MB / 437.6 MB, free: 91.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009173/0.4594, allocations: 0.5146 MB / 438.1 MB, free: 91.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/0.4597, allocations: 51.95 kB / 438.1 MB, free: 91.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007004/0.4604, allocations: 111.3 kB / 438.3 MB, free: 91.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000347/0.4607, allocations: 178.6 kB / 438.4 MB, free: 91.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/0.4609, allocations: 68.77 kB / 438.5 MB, free: 91.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001567/0.4624, allocations: 1.244 MB / 439.7 MB, free: 91.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4624, allocations: 5.828 kB / 439.7 MB, free: 91.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00214/0.4646, allocations: 0.918 MB / 440.7 MB, free: 91.42 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (vfController.x,smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smrE.inertiaRotor.w,smrE.idq_sr[1],smrE.idq_sr[2],smrE.idq_dr[1],smrE.idq_dr[2],loadInertiaM.phi,loadInertiaE.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 (181): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,5,100.0%), (3,11,100.0%), (1,6,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,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.0004237/0.465, allocations: 262 kB / 440.9 MB, free: 91.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002765/0.4678, allocations: 2.618 MB / 443.5 MB, free: 90.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4678, allocations: 1.969 kB / 443.5 MB, free: 90.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.4694, allocations: 2.39 MB / 445.9 MB, free: 88.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/0.4711, allocations: 0.7238 MB / 446.6 MB, free: 88.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009107/0.4802, allocations: 8.233 MB / 454.9 MB, free: 85.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009306/0.4811, allocations: 1.241 MB / 456.1 MB, free: 85.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001181/0.4823, allocations: 0.6124 MB / 456.7 MB, free: 85.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/0.4827, allocations: 208.6 kB / 456.9 MB, free: 85.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.303e-06/0.4827, allocations: 0 / 456.9 MB, free: 85.09 MB / 378.7 MB Notification: Performance of Templates: time 0.04387/0.5265, allocations: 41.78 MB / 498.7 MB, free: 51.04 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.148766052909195]