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.0009868/0.0009868, allocations: 85.08 kB / 23 MB, free: 1.504 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.0009408/0.0009408, allocations: 173.1 kB / 26.39 MB, free: 8 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.9223/0.9223, allocations: 158.6 MB / 188.3 MB, free: 2.82 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.[0-9,]+.|smpmE.idq_dr.[0-9,]+.|smpmE.idq_rr.[0-9,]+.|smpmE.idq_sr.[0-9,]+.|smpmM.is.[0-9,]+.|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..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.[0-9,]+.|smpmE.idq_dr.[0-9,]+.|smpmE.idq_rr.[0-9,]+.|smpmE.idq_sr.[0-9,]+.|smpmM.is.[0-9,]+.|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..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.503e-06/1.503e-06, allocations: 0 / 252.3 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.886e-05, allocations: 10.25 kB / 252.3 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter): time 0.01604/0.01606, allocations: 20.65 MB / 272.9 MB, free: 2.477 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.02795, allocations: 6.337 MB / 279.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003461/0.03141, allocations: 158.9 kB / 279.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003065/0.03447, allocations: 1.498 MB / 280.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005456/0.03993, allocations: 2.154 MB / 283.1 MB, free: 8.289 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002415/0.04234, allocations: 1.31 MB / 284.4 MB, free: 6.977 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007261/0.0496, allocations: 6.781 MB / 291.2 MB, free: 168 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004164/0.05377, allocations: 2.986 MB / 294.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007548/0.06131, allocations: 4.893 MB / 299.1 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004596/0.06591, allocations: 3.215 MB / 302.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009635/0.06688, allocations: 0.7969 MB / 303.1 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.0687, allocations: 1.07 MB / 304.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00123/0.06993, allocations: 2.061 MB / 306.2 MB, free: 1.031 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00219/0.07212, allocations: 2.393 MB / 308.6 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004674/0.07679, allocations: 5.599 MB / 314.2 MB, free: 9.016 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.0768, allocations: 0 / 314.2 MB, free: 9.016 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.0768, allocations: 0 / 314.2 MB, free: 9.016 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.854e-05/0.07684, allocations: 0 / 314.2 MB, free: 9.016 MB / 298.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.007815/0.08465, allocations: 7.006 MB / 321.2 MB, free: 1.934 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.08469, allocations: 11.98 kB / 321.2 MB, free: 1.922 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003053/0.08774, allocations: 1.617 MB / 322.8 MB, free: 308 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003089/0.09083, allocations: 3.156 MB / 326 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.09102, allocations: 403.1 kB / 326.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000507/0.09153, allocations: 0.5314 MB / 326.9 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004398/0.09593, allocations: 3.965 MB / 330.9 MB, free: 8.023 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.679e-05/0.09601, allocations: 15.88 kB / 330.9 MB, free: 8.008 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003232/0.09634, allocations: 224 kB / 331.1 MB, free: 7.789 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000164/0.0965, allocations: 258.6 kB / 331.4 MB, free: 7.535 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.09877, allocations: 1.601 MB / 333 MB, free: 5.918 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01723/0.116, allocations: 17.75 MB / 350.7 MB, free: 3.625 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/0.1188, allocations: 2.532 MB / 353.2 MB, free: 1.273 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.1198, allocations: 0.9242 MB / 354.2 MB, free: 348 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1348/0.2546, allocations: 3.506 MB / 357.7 MB, free: 71.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.2546, allocations: 65.2 kB / 357.7 MB, free: 71.74 MB / 330.7 MB Notification: Performance of pre-optimization done (n=219): time 4.598e-06/0.2546, allocations: 0 / 357.7 MB, free: 71.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=239): time 0.00866/0.2633, allocations: 4.851 MB / 362.6 MB, free: 71.31 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.2633, allocations: 73.47 kB / 362.7 MB, free: 71.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/0.2654, allocations: 2.373 MB / 365 MB, free: 70.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.2655, allocations: 62.08 kB / 365.1 MB, free: 70.85 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001274/0.2668, allocations: 2.722 MB / 367.8 MB, free: 69.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004937/0.2673, allocations: 0.887 MB / 368.7 MB, free: 69.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005911/0.2679, allocations: 0.5833 MB / 369.3 MB, free: 69.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.653e-05/0.2679, allocations: 479 kB / 369.7 MB, free: 68.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000511/0.2684, allocations: 354.4 kB / 370.1 MB, free: 68.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.2694, allocations: 1.833 MB / 371.9 MB, free: 67.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/0.2712, allocations: 2.453 MB / 374.4 MB, free: 65.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.338e-05/0.2712, allocations: 7.688 kB / 374.4 MB, free: 65.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=405) (initialization): time 0.003098/0.2743, allocations: 2.553 MB / 376.9 MB, free: 64.92 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.2744, allocations: 19.44 kB / 377 MB, free: 64.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-05/0.2744, allocations: 29.31 kB / 377 MB, free: 64.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006253/0.275, allocations: 347.3 kB / 377.3 MB, free: 64.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.2764, allocations: 0.6772 MB / 378 MB, free: 64.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003998/0.2804, allocations: 10.25 MB / 388.3 MB, free: 55.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.2817, allocations: 119.1 kB / 388.4 MB, free: 55.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.2818, allocations: 115.6 kB / 388.5 MB, free: 55.61 MB / 330.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 (379): * Single equations (assignments): 372 * 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.001137/0.2829, allocations: 366.5 kB / 388.8 MB, free: 55.44 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004143/0.2833, allocations: 404.2 kB / 389.2 MB, free: 55.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002418/0.2858, allocations: 1.965 MB / 391.2 MB, free: 54.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.2858, allocations: 24 kB / 391.2 MB, free: 54.4 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.2858, allocations: 11.94 kB / 391.2 MB, free: 54.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.2858, allocations: 13.22 kB / 391.2 MB, free: 54.39 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006606/0.2924, allocations: 5.668 MB / 396.9 MB, free: 50.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.2924, allocations: 4 kB / 396.9 MB, free: 50.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008409/0.2933, allocations: 366.2 kB / 397.3 MB, free: 50.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009536/0.2942, allocations: 0.5094 MB / 397.8 MB, free: 50.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.2943, allocations: 67.5 kB / 397.9 MB, free: 50.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006175/0.3005, allocations: 16.79 MB / 414.6 MB, free: 33.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3005, allocations: 4 kB / 414.6 MB, free: 33.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003531/0.304, allocations: 2.708 MB / 417.4 MB, free: 30.26 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009027/0.3049, allocations: 0.5194 MB / 417.9 MB, free: 29.74 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002596/0.3052, allocations: 59.98 kB / 417.9 MB, free: 29.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006996/0.3059, allocations: 87.97 kB / 418 MB, free: 29.6 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002871/0.3062, allocations: 188.9 kB / 418.2 MB, free: 29.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.218e-05/0.3063, allocations: 55.97 kB / 418.3 MB, free: 29.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001102/0.3074, allocations: 1.222 MB / 419.5 MB, free: 28.26 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3074, allocations: 4 kB / 419.5 MB, free: 28.26 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002585/0.31, allocations: 0.9726 MB / 420.5 MB, free: 27.29 MB / 330.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 (200): * Single equations (assignments): 192 * 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%), (1,2,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.0003696/0.3103, allocations: 254.7 kB / 420.7 MB, free: 27.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00219/0.3125, allocations: 2.528 MB / 423.2 MB, free: 24.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3125, allocations: 0 / 423.2 MB, free: 24.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.3139, allocations: 2.341 MB / 425.6 MB, free: 22.17 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.3157, allocations: 0.8208 MB / 426.4 MB, free: 21.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.3261, allocations: 8.606 MB / 435 MB, free: 12.69 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009981/0.3271, allocations: 1.285 MB / 436.3 MB, free: 11.37 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001408/0.3285, allocations: 460.3 kB / 436.7 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/0.3298, allocations: 0.861 MB / 437.6 MB, free: 10.05 MB / 330.7 MB Notification: Performance of SimCode: time 1.613e-06/0.3298, allocations: 0 / 437.6 MB, free: 10.05 MB / 330.7 MB Notification: Performance of Templates: time 0.06745/0.3972, allocations: 47.7 MB / 485.3 MB, free: 10.45 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.pipe 2>&1) [Timeout 240] 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","",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.495830347761512]