Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_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.0008171/0.0008171, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.0009165/0.0009165, allocations: 161.4 kB / 25.45 MB, free: 9.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9691/0.9691, allocations: 158.6 MB / 187.2 MB, free: 3.055 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 0 / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.852e-05/4.173e-05, allocations: 6.219 kB / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter): time 0.01512/0.01516, allocations: 17.52 MB / 317.2 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01242/0.02758, allocations: 5.725 MB / 323 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003909/0.03149, allocations: 154.9 kB / 323.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003475/0.03496, allocations: 1.346 MB / 324.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005687/0.04065, allocations: 1.991 MB / 326.5 MB, free: 12.04 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002584/0.04323, allocations: 1.255 MB / 327.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006678/0.04991, allocations: 6.377 MB / 334.1 MB, free: 4.383 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00343/0.05334, allocations: 2.876 MB / 337 MB, free: 1.422 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006345/0.05969, allocations: 4.269 MB / 341.2 MB, free: 13.14 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003993/0.06368, allocations: 2.884 MB / 344.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001394/0.06508, allocations: 0.7773 MB / 344.9 MB, free: 9.473 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002032/0.06711, allocations: 1.058 MB / 346 MB, free: 8.414 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001751/0.06886, allocations: 2.002 MB / 348 MB, free: 6.406 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00201/0.07087, allocations: 2.28 MB / 350.2 MB, free: 4.121 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1986/0.2695, allocations: 10.42 MB / 360.7 MB, free: 30.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2695, allocations: 1.125 kB / 360.7 MB, free: 30.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.2695, allocations: 0.625 kB / 360.7 MB, free: 30.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003599/0.2699, allocations: 0 / 360.7 MB, free: 30.38 MB / 330.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.01628/0.2861, allocations: 6.586 MB / 367.2 MB, free: 28.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.2862, allocations: 13.58 kB / 367.3 MB, free: 28.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003179/0.2894, allocations: 1.033 MB / 368.3 MB, free: 27.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004756/0.2941, allocations: 3.254 MB / 371.5 MB, free: 27.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.2943, allocations: 384.3 kB / 371.9 MB, free: 27.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005348/0.2949, allocations: 0.5072 MB / 372.4 MB, free: 27.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008219/0.3031, allocations: 7.001 MB / 379.4 MB, free: 23.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.222e-05/0.3032, allocations: 10.52 kB / 379.4 MB, free: 23.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003375/0.3035, allocations: 216.5 kB / 379.7 MB, free: 23.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001585/0.3037, allocations: 244.4 kB / 379.9 MB, free: 23.69 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006087/0.3097, allocations: 5.729 MB / 385.6 MB, free: 20.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01983/0.3296, allocations: 18.02 MB / 403.6 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003839/0.3334, allocations: 3.646 MB / 407.3 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002153/0.3356, allocations: 1.921 MB / 409.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007495/0.3431, allocations: 4.936 MB / 414.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.3431, allocations: 56.56 kB / 414.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=205): time 4.077e-06/0.3431, allocations: 3.844 kB / 414.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=222): time 0.0138/0.3569, allocations: 9.449 MB / 423.7 MB, free: 0.625 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.357, allocations: 73.41 kB / 423.7 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003297/0.3603, allocations: 2.592 MB / 426.3 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.3604, allocations: 65.7 kB / 426.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001197/0.3616, allocations: 2.419 MB / 428.8 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005031/0.3621, allocations: 0.7961 MB / 429.6 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005918/0.3627, allocations: 0.514 MB / 430.1 MB, free: 10.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.345e-05/0.3628, allocations: 301.1 kB / 430.4 MB, free: 9.828 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/0.3642, allocations: 1.271 MB / 431.7 MB, free: 8.555 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/0.3662, allocations: 2.206 MB / 433.9 MB, free: 5.961 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00341/0.3697, allocations: 3.667 MB / 437.5 MB, free: 2.012 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.986e-05/0.3697, allocations: 8 kB / 437.6 MB, free: 2.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.005147/0.3748, allocations: 4.262 MB / 441.8 MB, free: 13.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.3749, allocations: 22.14 kB / 441.8 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.714e-05/0.3749, allocations: 35.94 kB / 441.9 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007362/0.3756, allocations: 0.5132 MB / 442.4 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.3769, allocations: 0.6899 MB / 443.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005618/0.3826, allocations: 9.497 MB / 452.6 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.3843, allocations: 179.8 kB / 452.7 MB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/0.3844, allocations: 128 kB / 452.9 MB, free: 2.426 MB / 378.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 (348): * Single equations (assignments): 341 * 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,3,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.002735/0.3871, allocations: 1.518 MB / 454.4 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004098/0.3875, allocations: 302.1 kB / 454.7 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004106/0.3917, allocations: 3.606 MB / 458.3 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.3917, allocations: 23.94 kB / 458.3 MB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/0.3917, allocations: 8 kB / 458.3 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.3917, allocations: 15.95 kB / 458.3 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008595/0.4003, allocations: 7.086 MB / 465.4 MB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.4003, allocations: 0 / 465.4 MB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000849/0.4011, allocations: 384.8 kB / 465.8 MB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/0.4022, allocations: 0.7262 MB / 466.5 MB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/0.4023, allocations: 63.97 kB / 466.6 MB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009358/0.4117, allocations: 15.49 MB / 482.1 MB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4117, allocations: 4 kB / 482.1 MB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006072/0.4178, allocations: 5.292 MB / 487.4 MB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/0.419, allocations: 0.5565 MB / 487.9 MB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.4193, allocations: 51.98 kB / 488 MB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007928/0.4201, allocations: 131.9 kB / 488.1 MB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003297/0.4204, allocations: 177.3 kB / 488.3 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.684e-05/0.4205, allocations: 71.97 kB / 488.4 MB, free: 14.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001985/0.4225, allocations: 1.709 MB / 490.1 MB, free: 12.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4225, allocations: 0 / 490.1 MB, free: 12.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003163/0.4256, allocations: 0.9218 MB / 491 MB, free: 11.56 MB / 426.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 (185): * Single equations (assignments): 177 * 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,3,100.0%), (1,1,100.0%), (2,1,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.0005425/0.4262, allocations: 241.4 kB / 491.2 MB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004215/0.4304, allocations: 3.681 MB / 494.9 MB, free: 7.688 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4304, allocations: 4 kB / 494.9 MB, free: 7.684 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002323/0.4327, allocations: 2.561 MB / 497.5 MB, free: 5.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/0.4347, allocations: 0.6853 MB / 498.2 MB, free: 4.387 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.4468, allocations: 9.347 MB / 0.4956 GB, free: 10.97 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002224/0.449, allocations: 2.702 MB / 0.4982 GB, free: 8.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008255/0.4499, allocations: 232.4 kB / 0.4985 GB, free: 8.004 MB / 442.7 MB Notification: Performance of SimCode: time 1.532e-06/0.4499, allocations: 0 / 0.4985 GB, free: 8.004 MB / 442.7 MB Notification: Performance of Templates: time 0.4173/0.8672, allocations: 250.6 MB / 0.7432 GB, free: 90.96 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_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.159963677637279]