Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_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.0009064/0.0009064, 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.0009644/0.0009644, allocations: 159.5 kB / 25.45 MB, free: 9.352 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.8412/0.8412, allocations: 158.6 MB / 187.2 MB, free: 3.051 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.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.is.1.|smpmE.is.2.|smpmE.idq_dr.1.|smpmE.idq_rr.2.|smpmE.idq_sr.1.|smpmE.idq_sr.2.|smpmM.is.1.|smpmM.is.2.|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.strayReluctance.port_p.Phi.im|smpmM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.is.1.|smpmE.is.2.|smpmE.idq_dr.1.|smpmE.idq_rr.2.|smpmE.idq_sr.1.|smpmE.idq_sr.2.|smpmM.is.1.|smpmM.is.2.|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.strayReluctance.port_p.Phi.im|smpmM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 299.7 MB, free: 6.898 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.399e-05, allocations: 2.281 kB / 299.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter): time 0.01377/0.01379, allocations: 18.76 MB / 318.5 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.02382, allocations: 6.185 MB / 324.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002373/0.0262, allocations: 158.9 kB / 324.8 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002457/0.02865, allocations: 1.49 MB / 326.3 MB, free: 12.19 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003687/0.03234, allocations: 2.146 MB / 328.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.03418, allocations: 1.31 MB / 329.8 MB, free: 8.715 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005205/0.03939, allocations: 6.812 MB / 336.6 MB, free: 1.875 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002761/0.04215, allocations: 2.966 MB / 339.5 MB, free: 14.83 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004001/0.04615, allocations: 4.519 MB / 344.1 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002489/0.04864, allocations: 3.012 MB / 347.1 MB, free: 7.277 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006049/0.04925, allocations: 0.8125 MB / 347.9 MB, free: 6.465 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.05043, allocations: 1.097 MB / 349 MB, free: 5.367 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.05151, allocations: 2.084 MB / 351.1 MB, free: 3.277 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001584/0.05309, allocations: 2.397 MB / 353.5 MB, free: 0.875 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1585/0.2116, allocations: 10.91 MB / 364.4 MB, free: 27.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2116, allocations: 0.5938 kB / 364.4 MB, free: 27.1 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2116, allocations: 3.094 kB / 364.4 MB, free: 27.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002067/0.2118, allocations: 3.812 kB / 364.4 MB, free: 27.1 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01125/0.2231, allocations: 6.924 MB / 371.3 MB, free: 24.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.2231, allocations: 14.72 kB / 371.3 MB, free: 24.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002647/0.2257, allocations: 1.093 MB / 372.4 MB, free: 23.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003933/0.2297, allocations: 3.423 MB / 375.8 MB, free: 22.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.2299, allocations: 402.7 kB / 376.2 MB, free: 22.63 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005496/0.2304, allocations: 0.5242 MB / 376.8 MB, free: 22.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007118/0.2376, allocations: 7.277 MB / 384 MB, free: 18.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-05/0.2376, allocations: 11.17 kB / 384 MB, free: 18.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003379/0.238, allocations: 224.3 kB / 384.3 MB, free: 18.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/0.2381, allocations: 266.1 kB / 384.5 MB, free: 18.08 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005864/0.244, allocations: 5.916 MB / 390.4 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01835/0.2623, allocations: 19.14 MB / 409.6 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003893/0.2662, allocations: 3.675 MB / 413.3 MB, free: 9.578 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001975/0.2682, allocations: 1.985 MB / 415.2 MB, free: 7.586 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00705/0.2752, allocations: 5.141 MB / 420.4 MB, free: 2.508 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.2753, allocations: 68.22 kB / 420.4 MB, free: 2.438 MB / 346.7 MB Notification: Performance of pre-optimization done (n=220): time 4.359e-06/0.2753, allocations: 1.688 kB / 420.4 MB, free: 2.438 MB / 346.7 MB Notification: Performance of matching and sorting (n=240): time 0.01373/0.289, allocations: 10.18 MB / 430.6 MB, free: 8.301 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.2891, allocations: 83.59 kB / 430.7 MB, free: 8.207 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003308/0.2924, allocations: 2.81 MB / 433.5 MB, free: 5.383 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.2925, allocations: 65.7 kB / 433.6 MB, free: 5.312 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001134/0.2936, allocations: 2.582 MB / 436.2 MB, free: 2.719 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004429/0.2941, allocations: 0.8591 MB / 437 MB, free: 1.871 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005599/0.2946, allocations: 0.55 MB / 437.6 MB, free: 1.312 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.075e-05/0.2947, allocations: 305.1 kB / 437.9 MB, free: 1.012 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.2961, allocations: 1.336 MB / 439.2 MB, free: 15.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/0.298, allocations: 2.364 MB / 441.6 MB, free: 12.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003337/0.3014, allocations: 3.921 MB / 445.5 MB, free: 8.613 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/0.3014, allocations: 16 kB / 445.5 MB, free: 8.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=406) (initialization): time 0.004873/0.3063, allocations: 4.525 MB / 450 MB, free: 4.203 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.3063, allocations: 20 kB / 450.1 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/0.3063, allocations: 28 kB / 450.1 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00071/0.307, allocations: 0.5256 MB / 450.6 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.3084, allocations: 0.7495 MB / 451.4 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005739/0.3141, allocations: 9.588 MB / 460.9 MB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.3158, allocations: 195.7 kB / 461.1 MB, free: 8.699 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.3159, allocations: 140 kB / 461.3 MB, free: 8.562 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * 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 (380): * Single equations (assignments): 373 * 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,12,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.002633/0.3186, allocations: 1.564 MB / 462.8 MB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003618/0.3189, allocations: 329.9 kB / 463.2 MB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004014/0.3229, allocations: 3.787 MB / 466.9 MB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.3229, allocations: 24 kB / 467 MB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.323, allocations: 8 kB / 467 MB, free: 2.883 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.323, allocations: 11.95 kB / 467 MB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008678/0.3316, allocations: 7.509 MB / 474.5 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.3317, allocations: 4 kB / 474.5 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008826/0.3325, allocations: 409.2 kB / 474.9 MB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00117/0.3337, allocations: 0.7337 MB / 475.6 MB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.3338, allocations: 63.97 kB / 475.7 MB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008912/0.3427, allocations: 15.6 MB / 491.3 MB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.3427, allocations: 4.094 kB / 491.3 MB, free: 9.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006126/0.3489, allocations: 5.575 MB / 496.9 MB, free: 4.176 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/0.3503, allocations: 0.6058 MB / 497.5 MB, free: 3.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002529/0.3506, allocations: 59.92 kB / 497.5 MB, free: 3.512 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000853/0.3514, allocations: 139.9 kB / 497.7 MB, free: 3.375 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003405/0.3518, allocations: 189.3 kB / 497.9 MB, free: 3.195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-05/0.3519, allocations: 71.97 kB / 497.9 MB, free: 3.125 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002068/0.3539, allocations: 1.844 MB / 499.8 MB, free: 1.281 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3539, allocations: 2.297 kB / 499.8 MB, free: 1.281 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00276/0.3567, allocations: 0.9804 MB / 0.489 GB, free: 308 kB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 13 (vfController.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpmE.inertiaRotor.w,smpmE.idq_sr[1],smpmE.idq_sr[2],smpmE.idq_rr[2],smpmE.idq_dr[1],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 (201): * Single equations (assignments): 193 * 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,12,100.0%), (1,3,100.0%), (1,1,100.0%), (2,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004572/0.3572, allocations: 262.3 kB / 0.4893 GB, free: 60 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004413/0.3616, allocations: 3.847 MB / 0.493 GB, free: 12.26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.3616, allocations: 4 kB / 0.493 GB, free: 12.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002425/0.364, allocations: 2.64 MB / 0.4956 GB, free: 9.562 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002493/0.3665, allocations: 0.8048 MB / 0.4964 GB, free: 8.758 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.3786, allocations: 9.786 MB / 0.5059 GB, free: 14.89 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002391/0.381, allocations: 2.82 MB / 0.5087 GB, free: 12.03 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008955/0.3819, allocations: 252.5 kB / 0.5089 GB, free: 11.79 MB / 458.7 MB Notification: Performance of SimCode: time 1.373e-06/0.3819, allocations: 2.406 kB / 0.5089 GB, free: 11.79 MB / 458.7 MB Notification: Performance of Templates: time 0.418/0.7999, allocations: 265.4 MB / 0.7682 GB, free: 96.43 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_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/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_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.693746821954846]