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.001168/0.001168, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001308/0.001308, allocations: 161.6 kB / 25.61 MB, free: 8.582 MB / 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.9136/0.9136, allocations: 177 MB / 205.9 MB, free: 4.41 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.543e-06/1.543e-06, allocations: 0 / 274.1 MB, free: 4.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.179e-05, allocations: 2.312 kB / 274.1 MB, free: 4.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.01524/0.01526, allocations: 19.95 MB / 294.1 MB, free: 212 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.02562, allocations: 6.079 MB / 300.2 MB, free: 10.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003202/0.02882, allocations: 170.9 kB / 300.3 MB, free: 9.949 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003308/0.03213, allocations: 1.385 MB / 301.7 MB, free: 8.555 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005064/0.03719, allocations: 2.037 MB / 303.8 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002567/0.03976, allocations: 1.274 MB / 305 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006802/0.04656, allocations: 6.44 MB / 311.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003378/0.04994, allocations: 2.932 MB / 314.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005641/0.05558, allocations: 4.679 MB / 319.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004083/0.05966, allocations: 3.087 MB / 322.2 MB, free: 3.969 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001469/0.06113, allocations: 0.7617 MB / 322.9 MB, free: 3.207 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002356/0.06349, allocations: 1.058 MB / 324 MB, free: 2.148 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001398/0.06489, allocations: 1.979 MB / 326 MB, free: 168 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003039/0.06793, allocations: 2.28 MB / 328.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005946/0.07387, allocations: 5.401 MB / 333.6 MB, free: 8.457 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.07388, allocations: 0 / 333.6 MB, free: 8.457 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.07388, allocations: 4 kB / 333.7 MB, free: 8.453 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001374/0.07402, allocations: 0 / 333.7 MB, free: 8.453 MB / 314.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.008903/0.08292, allocations: 6.695 MB / 340.3 MB, free: 1.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.08295, allocations: 12.03 kB / 340.4 MB, free: 1.668 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002934/0.08589, allocations: 1.523 MB / 341.9 MB, free: 144 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1356/0.2215, allocations: 3.31 MB / 345.2 MB, free: 45.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000357/0.2219, allocations: 383.6 kB / 345.6 MB, free: 45.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000752/0.2226, allocations: 0.5082 MB / 346.1 MB, free: 45.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006251/0.2289, allocations: 3.778 MB / 349.9 MB, free: 44.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001539/0.229, allocations: 10.44 kB / 349.9 MB, free: 44.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003701/0.2294, allocations: 212.3 kB / 350.1 MB, free: 44.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002201/0.2296, allocations: 240.8 kB / 350.3 MB, free: 44.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00311/0.2327, allocations: 1.544 MB / 351.9 MB, free: 44.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02507/0.2578, allocations: 16.53 MB / 368.4 MB, free: 37.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002679/0.2605, allocations: 2.575 MB / 371 MB, free: 35.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.2615, allocations: 1.006 MB / 372 MB, free: 34.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004354/0.2658, allocations: 3.433 MB / 375.4 MB, free: 31.17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.2658, allocations: 59.39 kB / 375.4 MB, free: 31.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=204): time 3.016e-06/0.2658, allocations: 0 / 375.4 MB, free: 31.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=221): time 0.00652/0.2724, allocations: 4.604 MB / 380.1 MB, free: 26.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.2724, allocations: 73.41 kB / 380.1 MB, free: 26.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.274, allocations: 2.207 MB / 382.3 MB, free: 24.83 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.693e-05/0.2741, allocations: 67.34 kB / 382.4 MB, free: 24.76 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007799/0.2749, allocations: 2.57 MB / 385 MB, free: 22.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003468/0.2752, allocations: 0.8192 MB / 385.8 MB, free: 21.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004508/0.2757, allocations: 0.5518 MB / 386.3 MB, free: 21.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.227e-05/0.2757, allocations: 476.8 kB / 386.8 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.2761, allocations: 333.5 kB / 387.1 MB, free: 20.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000713/0.2768, allocations: 1.655 MB / 388.8 MB, free: 18.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.2782, allocations: 2.234 MB / 391 MB, free: 15.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.2782, allocations: 8 kB / 391 MB, free: 15.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=372) (initialization): time 0.002406/0.2806, allocations: 2.392 MB / 393.4 MB, free: 13.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.2807, allocations: 16 kB / 393.4 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/0.2807, allocations: 31.98 kB / 393.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005441/0.2812, allocations: 353.7 kB / 393.8 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.2824, allocations: 0.6226 MB / 394.4 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003058/0.2854, allocations: 10.27 MB / 404.7 MB, free: 1.559 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.2866, allocations: 115.8 kB / 404.8 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.2867, allocations: 104 kB / 404.9 MB, free: 1.344 MB / 314.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.0009364/0.2877, allocations: 347.5 kB / 405.3 MB, free: 1.039 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003796/0.288, allocations: 378 kB / 405.6 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.2904, allocations: 1.892 MB / 407.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.2904, allocations: 20 kB / 407.5 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.2904, allocations: 8 kB / 407.5 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.2905, allocations: 13.7 kB / 407.6 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006627/0.2971, allocations: 5.365 MB / 412.9 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.2971, allocations: 4 kB / 412.9 MB, free: 9.902 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008049/0.2979, allocations: 334 kB / 413.2 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001006/0.2989, allocations: 0.5084 MB / 413.8 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.299, allocations: 59.97 kB / 413.8 MB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008352/0.3074, allocations: 16.79 MB / 430.6 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.3074, allocations: 11.64 kB / 430.6 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003819/0.3112, allocations: 2.573 MB / 433.2 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007716/0.312, allocations: 490.3 kB / 433.7 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002412/0.3122, allocations: 59.98 kB / 433.7 MB, free: 4.371 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006507/0.3129, allocations: 79.97 kB / 433.8 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002761/0.3131, allocations: 177.1 kB / 434 MB, free: 4.121 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.418e-05/0.3132, allocations: 51.98 kB / 434 MB, free: 4.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001084/0.3143, allocations: 1.144 MB / 435.2 MB, free: 3.035 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3143, allocations: 0 / 435.2 MB, free: 3.035 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002486/0.3168, allocations: 0.914 MB / 436.1 MB, free: 2.121 MB / 346.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.0003945/0.3172, allocations: 264.6 kB / 436.3 MB, free: 1.867 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002996/0.3202, allocations: 2.437 MB / 438.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.3202, allocations: 0.9375 kB / 438.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002272/0.3225, allocations: 2.317 MB / 441.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/0.3247, allocations: 0.7219 MB / 441.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/0.3374, allocations: 8.147 MB / 450 MB, free: 4.156 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/0.3387, allocations: 1.247 MB / 451.2 MB, free: 2.879 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001456/0.3401, allocations: 418.1 kB / 451.6 MB, free: 2.465 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/0.3414, allocations: 0.7829 MB / 452.4 MB, free: 1.68 MB / 362.7 MB Notification: Performance of SimCode: time 2.084e-06/0.3414, allocations: 0 / 452.4 MB, free: 1.68 MB / 362.7 MB Notification: Performance of Templates: time 0.1695/0.5109, allocations: 43.89 MB / 496.3 MB, free: 107.7 MB / 394.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.469033102039248]